Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 115 kB / 17.09 MB, free: 5.996 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.001272/0.001272, allocations: 194.7 kB / 18.03 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8182/0.8182, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.05 kB / 0.5737 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 78.71 MB / 0.6506 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005/0.1594, allocations: 3.525 MB / 0.654 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1623, allocations: 1.905 MB / 0.6559 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1625, allocations: 4 kB / 0.6559 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007945/0.1633, allocations: 242.9 kB / 0.6561 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.1638, allocations: 223 kB / 0.6564 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.1644, allocations: 246.3 kB / 0.6566 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1649, allocations: 390.8 kB / 0.657 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.1653, allocations: 221.3 kB / 0.6572 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1655, allocations: 155.5 kB / 0.6573 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1659, allocations: 183.4 kB / 0.6575 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.1659, allocations: 24 kB / 0.6575 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1664, allocations: 291.4 kB / 0.6578 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1666, allocations: 99.72 kB / 0.6579 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1667, allocations: 147.2 kB / 0.658 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.1674, allocations: 498.2 kB / 0.6585 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1674, allocations: 0 / 0.6585 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1674, allocations: 0 / 0.6585 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1674, allocations: 3.938 kB / 0.6585 GB, free: 11.98 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001238/0.1686, allocations: 0.6481 MB / 0.6591 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1687, allocations: 16.02 kB / 0.6592 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.1696, allocations: 116.6 kB / 0.6593 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.17, allocations: 288.4 kB / 0.6595 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.17, allocations: 20.75 kB / 0.6596 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.1701, allocations: 24.36 kB / 0.6596 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.1709, allocations: 426.9 kB / 0.66 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.171, allocations: 3.938 kB / 0.66 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.171, allocations: 8 kB / 0.66 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.1711, allocations: 32.36 kB / 0.66 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.172, allocations: 392.8 kB / 0.6604 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1739, allocations: 1.634 MB / 0.662 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.1751, allocations: 477.1 kB / 0.6625 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.1756, allocations: 197.5 kB / 0.6626 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.1758, allocations: 97.09 kB / 0.6627 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.1764, allocations: 267.9 kB / 0.663 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=27): time 1.904e-06/0.1764, allocations: 4 kB / 0.663 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002044/0.1784, allocations: 0.7601 MB / 0.6637 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1785, allocations: 81.11 kB / 0.6638 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1787, allocations: 225 kB / 0.664 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1788, allocations: 29.7 kB / 0.6641 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1789, allocations: 168.6 kB / 0.6642 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.179, allocations: 95.17 kB / 0.6643 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1792, allocations: 77.39 kB / 0.6644 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1793, allocations: 338.8 kB / 0.6647 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.1797, allocations: 177 kB / 0.6649 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.1802, allocations: 257 kB / 0.6651 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.1811, allocations: 466.8 kB / 0.6656 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1811, allocations: 0 / 0.6656 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001192/0.1823, allocations: 0.5486 MB / 0.6661 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.1824, allocations: 33.7 kB / 0.6661 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1824, allocations: 4 kB / 0.6661 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.1827, allocations: 45.05 kB / 0.6662 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.1831, allocations: 91.78 kB / 0.6663 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.1846, allocations: 1.599 MB / 0.6678 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.185, allocations: 51.8 kB / 0.6679 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.185, allocations: 15.98 kB / 0.6679 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004947/0.1855, allocations: 288.3 kB / 0.6682 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004495/0.186, allocations: 241.9 kB / 0.6684 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008626/0.1869, allocations: 448.7 kB / 0.6688 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.1869, allocations: 0 / 0.6688 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001107/0.188, allocations: 0.516 MB / 0.6693 GB, free: 168 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.188, allocations: 41.69 kB / 0.6694 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1881, allocations: 7.938 kB / 0.6694 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.1882, allocations: 44.81 kB / 0.6694 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.1886, allocations: 88.2 kB / 0.6695 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1903, allocations: 1.603 MB / 0.6711 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.1907, allocations: 51.73 kB / 0.6711 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1907, allocations: 15.98 kB / 0.6711 GB, free: 14.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.191, allocations: 200.1 kB / 0.6713 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.191, allocations: 23.86 kB / 0.6714 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1921, allocations: 485.2 kB / 0.6718 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1921, allocations: 0 / 0.6718 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1921, allocations: 0 / 0.6718 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1923, allocations: 132.9 kB / 0.6719 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1923, allocations: 8 kB / 0.672 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.1926, allocations: 39.94 kB / 0.672 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.1928, allocations: 35.89 kB / 0.672 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001218/0.194, allocations: 0.61 MB / 0.6726 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001341/0.1954, allocations: 0.8418 MB / 0.6734 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003921/0.1958, allocations: 188.5 kB / 0.6736 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002102/0.196, allocations: 180.5 kB / 0.6738 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of Backend: time 6.91e-07/0.196, allocations: 0 / 0.6738 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.1986, allocations: 1.065 MB / 0.6748 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001256/0.1999, allocations: 0.9714 MB / 0.6758 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.01328/0.2132, allocations: 7.823 MB / 0.6834 GB, free: 1.449 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)