Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 108.2 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 190.2 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.015/2.015, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 63.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3383, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005548/0.344, allocations: 2.746 MB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.596/0.94, allocations: 2.038 MB / 0.7895 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.9402, allocations: 5.812 kB / 0.7895 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008431/0.9411, allocations: 225.9 kB / 0.7897 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.9416, allocations: 187.6 kB / 0.7899 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.9423, allocations: 282 kB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.9427, allocations: 316 kB / 0.7904 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.9431, allocations: 158.2 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.9433, allocations: 125.7 kB / 0.7907 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.9436, allocations: 155 kB / 0.7909 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.9437, allocations: 18.38 kB / 0.7909 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.9442, allocations: 377.9 kB / 0.7912 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.9444, allocations: 100.2 kB / 0.7913 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.9445, allocations: 113.5 kB / 0.7914 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.945, allocations: 470.2 kB / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9451, allocations: 5.062 kB / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9451, allocations: 0 / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.9451, allocations: 0 / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00122/0.9463, allocations: 0.551 MB / 0.7924 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.9464, allocations: 8.781 kB / 0.7924 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008281/0.9472, allocations: 108.5 kB / 0.7925 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.9477, allocations: 253.7 kB / 0.7928 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.9477, allocations: 23.58 kB / 0.7928 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.9478, allocations: 18.22 kB / 0.7928 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.9485, allocations: 390.5 kB / 0.7932 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9486, allocations: 3.906 kB / 0.7932 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.9486, allocations: 7.375 kB / 0.7932 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/0.9487, allocations: 24.12 kB / 0.7932 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.9493, allocations: 361 kB / 0.7936 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.9515, allocations: 1.718 MB / 0.7953 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.9523, allocations: 349.9 kB / 0.7956 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.9527, allocations: 186 kB / 0.7958 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.9529, allocations: 87.94 kB / 0.7958 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.9529, allocations: 40.45 kB / 0.7959 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.9529, allocations: 0 / 0.7959 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.007649/0.9606, allocations: 1.912 MB / 0.7978 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.9607, allocations: 85.77 kB / 0.7978 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.9609, allocations: 181.7 kB / 0.798 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.9609, allocations: 31.83 kB / 0.798 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9611, allocations: 148.1 kB / 0.7982 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.9612, allocations: 122.2 kB / 0.7983 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.9613, allocations: 72.78 kB / 0.7984 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9615, allocations: 333.3 kB / 0.7987 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.962, allocations: 255.2 kB / 0.7989 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.9625, allocations: 333.9 kB / 0.7992 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.9636, allocations: 0.5937 MB / 0.7998 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9636, allocations: 1.562 kB / 0.7998 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001274/0.9649, allocations: 0.6503 MB / 0.8005 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9649, allocations: 6.781 kB / 0.8005 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9649, allocations: 3.812 kB / 0.8005 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.965, allocations: 2.281 kB / 0.8005 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.9659, allocations: 153.1 kB / 0.8006 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.9659, allocations: 13.81 kB / 0.8006 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.9663, allocations: 48 kB / 0.8007 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.9664, allocations: 18.27 kB / 0.8007 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006879/0.9671, allocations: 360.8 kB / 0.801 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006348/0.9677, allocations: 319.3 kB / 0.8013 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00119/0.9689, allocations: 0.5698 MB / 0.8019 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.969, allocations: 5.406 kB / 0.8019 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001265/0.9702, allocations: 0.6111 MB / 0.8025 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.9702, allocations: 5.406 kB / 0.8025 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.9703, allocations: 2.625 kB / 0.8025 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.9703, allocations: 9.891 kB / 0.8025 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.9711, allocations: 144.6 kB / 0.8027 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9712, allocations: 7.609 kB / 0.8027 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.9715, allocations: 46.59 kB / 0.8027 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.9716, allocations: 18.19 kB / 0.8027 GB, free: 41.96 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.9717, allocations: 200.9 kB / 0.8029 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.9718, allocations: 28.62 kB / 0.8029 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.9734, allocations: 0.6632 MB / 0.8036 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.9734, allocations: 3.594 kB / 0.8036 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9734, allocations: 5.328 kB / 0.8036 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.9736, allocations: 146 kB / 0.8037 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.9736, allocations: 8.125 kB / 0.8037 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.9741, allocations: 53.44 kB / 0.8038 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9742, allocations: 28.2 kB / 0.8038 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001671/0.9759, allocations: 0.7918 MB / 0.8046 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001212/0.9771, allocations: 0.8022 MB / 0.8054 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005613/0.9777, allocations: 294.2 kB / 0.8057 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001358/0.9778, allocations: 143.9 kB / 0.8058 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of Backend: time 9.92e-07/0.9778, allocations: 0.9062 kB / 0.8058 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.9802, allocations: 0.8894 MB / 0.8067 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001089/0.9813, allocations: 0.8987 MB / 0.8075 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01869/1, allocations: 9.334 MB / 0.8167 GB, free: 38.72 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)