Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 95.72 kB / 16.26 MB, free: 5.934 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.001183/0.001183, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7429/0.7429, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 59.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3489, allocations: 77.93 MB / 0.5672 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003872/0.3528, allocations: 2.613 MB / 0.5698 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3549, allocations: 1.569 MB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.3551, allocations: 2.219 kB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3557, allocations: 177.7 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.356, allocations: 156 kB / 0.5716 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3565, allocations: 183.6 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.3567, allocations: 214.7 kB / 0.572 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.357, allocations: 119.5 kB / 0.5721 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3571, allocations: 90.17 kB / 0.5722 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.3573, allocations: 104.2 kB / 0.5723 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3574, allocations: 12.5 kB / 0.5723 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.3577, allocations: 211.7 kB / 0.5725 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.3578, allocations: 68 kB / 0.5726 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3579, allocations: 80.22 kB / 0.5727 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.3584, allocations: 305.8 kB / 0.573 GB, free: 29.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3584, allocations: 0 / 0.573 GB, free: 29.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3584, allocations: 0.9062 kB / 0.573 GB, free: 29.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3584, allocations: 0 / 0.573 GB, free: 29.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007191/0.3591, allocations: 476.8 kB / 0.5734 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3592, allocations: 9.344 kB / 0.5734 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008124/0.36, allocations: 86.94 kB / 0.5735 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3602, allocations: 232.3 kB / 0.5737 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3603, allocations: 11.22 kB / 0.5737 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.3603, allocations: 13.56 kB / 0.5738 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.3608, allocations: 302.3 kB / 0.574 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3608, allocations: 1.156 kB / 0.5741 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.3609, allocations: 6.25 kB / 0.5741 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.3609, allocations: 20.91 kB / 0.5741 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.3613, allocations: 223.8 kB / 0.5743 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3629, allocations: 1.594 MB / 0.5758 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3633, allocations: 317.4 kB / 0.5762 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.3634, allocations: 64.41 kB / 0.5762 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3634, allocations: 1.688 kB / 0.5762 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3634, allocations: 46 kB / 0.5763 GB, free: 26.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3634, allocations: 0 / 0.5763 GB, free: 26.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005244/0.364, allocations: 245.5 kB / 0.5765 GB, free: 26.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.364, allocations: 82.78 kB / 0.5766 GB, free: 26.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3642, allocations: 202.5 kB / 0.5768 GB, free: 26.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3643, allocations: 26.86 kB / 0.5768 GB, free: 26.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.3643, allocations: 162.6 kB / 0.5769 GB, free: 26.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3644, allocations: 40.03 kB / 0.577 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.3645, allocations: 57.02 kB / 0.577 GB, free: 25.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.3645, allocations: 322.2 kB / 0.5773 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3647, allocations: 87.67 kB / 0.5774 GB, free: 25.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3649, allocations: 160.7 kB / 0.5776 GB, free: 25.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.3652, allocations: 233.3 kB / 0.5778 GB, free: 25.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3652, allocations: 5.625 kB / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005483/0.3657, allocations: 267.4 kB / 0.5781 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3658, allocations: 6.016 kB / 0.5781 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3658, allocations: 4.125 kB / 0.5781 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.3658, allocations: 8.766 kB / 0.5781 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.3661, allocations: 52.47 kB / 0.5781 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3661, allocations: 5.422 kB / 0.5781 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.3664, allocations: 27.3 kB / 0.5782 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3664, allocations: 13.48 kB / 0.5782 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002481/0.3667, allocations: 168.1 kB / 0.5783 GB, free: 25.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002157/0.3669, allocations: 161.1 kB / 0.5785 GB, free: 24.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003022/0.3672, allocations: 221.5 kB / 0.5787 GB, free: 24.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3673, allocations: 1.219 kB / 0.5787 GB, free: 24.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004697/0.3677, allocations: 245 kB / 0.5789 GB, free: 24.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3678, allocations: 7.562 kB / 0.5789 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3678, allocations: 7.719 kB / 0.579 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.3678, allocations: 4.938 kB / 0.579 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.368, allocations: 50.94 kB / 0.579 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.368, allocations: 12.75 kB / 0.579 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3682, allocations: 29.31 kB / 0.579 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3683, allocations: 9.016 kB / 0.5791 GB, free: 24.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 7.814e-05/0.3683, allocations: 191.1 kB / 0.5792 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3684, allocations: 16.3 kB / 0.5793 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3687, allocations: 140.1 kB / 0.5794 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3687, allocations: 5.562 kB / 0.5794 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3687, allocations: 3.453 kB / 0.5794 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3687, allocations: 4.828 kB / 0.5794 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.3696, allocations: 0.7308 MB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3696, allocations: 2.75 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3697, allocations: 27.78 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3697, allocations: 4.125 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3698, allocations: 3.547 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.3698, allocations: 8.688 kB / 0.5802 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3698, allocations: 8.797 kB / 0.5802 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.37, allocations: 377.3 kB / 0.5805 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.3701, allocations: 105.7 kB / 0.5806 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3702, allocations: 9.328 kB / 0.5806 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3704, allocations: 13.09 kB / 0.5806 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3704, allocations: 15.92 kB / 0.5807 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3704, allocations: 10.05 kB / 0.5807 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3706, allocations: 157.2 kB / 0.5808 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3706, allocations: 0 / 0.5808 GB, free: 23.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005186/0.3711, allocations: 70.53 kB / 0.5809 GB, free: 23.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001294/0.3713, allocations: 109.1 kB / 0.581 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3718, allocations: 276.2 kB / 0.5813 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3718, allocations: 1.375 kB / 0.5813 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.3719, allocations: 62.94 kB / 0.5813 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3724, allocations: 41.83 kB / 0.5814 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.373, allocations: 420.5 kB / 0.5818 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.3732, allocations: 0.7338 MB / 0.5825 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.3734, allocations: 76.23 kB / 0.5825 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3735, allocations: 21.09 kB / 0.5826 GB, free: 22 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3735, allocations: 1.156 kB / 0.5826 GB, free: 22 MB / 446.1 MB Notification: Performance of Templates: time 0.004442/0.3779, allocations: 1.877 MB / 0.5844 GB, free: 21.19 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)