Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001112/0.001112, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001179/0.001179, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 300.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9928/0.9928, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4574, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003858/0.4613, allocations: 2.62 MB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4634, allocations: 1.406 MB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.4635, allocations: 3.938 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.4642, allocations: 175.3 kB / 0.7712 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.4644, allocations: 127.5 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.4648, allocations: 189.5 kB / 0.7715 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.4651, allocations: 219.3 kB / 0.7717 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.4654, allocations: 128.7 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.4655, allocations: 83.69 kB / 0.7719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.4658, allocations: 103.6 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.4658, allocations: 12 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.4661, allocations: 179.6 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.4662, allocations: 67.75 kB / 0.7722 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.4663, allocations: 79.59 kB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.4666, allocations: 289.7 kB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4666, allocations: 0 / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4666, allocations: 0 / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4666, allocations: 0 / 0.7726 GB, free: 14.25 MB / 0.545 GB 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.0006315/0.4673, allocations: 467.2 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4673, allocations: 12.02 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.4678, allocations: 60.69 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4681, allocations: 239.9 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4681, allocations: 12.66 kB / 0.7733 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.4682, allocations: 12.38 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.4686, allocations: 279.6 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4686, allocations: 7.938 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4686, allocations: 8 kB / 0.7736 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.4686, allocations: 16.22 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.469, allocations: 208.2 kB / 0.7738 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4706, allocations: 1.587 MB / 0.7754 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.471, allocations: 319.3 kB / 0.7757 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.4711, allocations: 65.67 kB / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4711, allocations: 4 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4712, allocations: 34.5 kB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.4712, allocations: 0 / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005067/0.4717, allocations: 248.5 kB / 0.776 GB, free: 10.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4717, allocations: 77.11 kB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.4719, allocations: 192.1 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4719, allocations: 33.7 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.472, allocations: 159.8 kB / 0.7765 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4721, allocations: 31.47 kB / 0.7765 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.4721, allocations: 53.69 kB / 0.7765 GB, free: 9.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4723, allocations: 327 kB / 0.7769 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4724, allocations: 76.81 kB / 0.7769 GB, free: 9.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4725, allocations: 153.4 kB / 0.7771 GB, free: 9.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4728, allocations: 234.9 kB / 0.7773 GB, free: 8.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4728, allocations: 4 kB / 0.7773 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003672/0.4732, allocations: 261.1 kB / 0.7776 GB, free: 8.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4732, allocations: 4 kB / 0.7776 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4732, allocations: 4 kB / 0.7776 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4732, allocations: 4 kB / 0.7776 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4735, allocations: 59.83 kB / 0.7776 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4735, allocations: 4 kB / 0.7776 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4736, allocations: 23.86 kB / 0.7776 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.4737, allocations: 12.38 kB / 0.7777 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001457/0.4738, allocations: 160.1 kB / 0.7778 GB, free: 8.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001479/0.474, allocations: 155.2 kB / 0.778 GB, free: 8.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002317/0.4742, allocations: 219.8 kB / 0.7782 GB, free: 7.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.4742, allocations: 0 / 0.7782 GB, free: 7.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003311/0.4746, allocations: 237.2 kB / 0.7784 GB, free: 7.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.4746, allocations: 4 kB / 0.7784 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4746, allocations: 4 kB / 0.7784 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.4746, allocations: 4 kB / 0.7784 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4747, allocations: 47.91 kB / 0.7785 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.4748, allocations: 16.34 kB / 0.7785 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4749, allocations: 11.98 kB / 0.7785 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4749, allocations: 12.38 kB / 0.7785 GB, free: 7.609 MB / 0.545 GB 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 0.0001018/0.475, allocations: 192.2 kB / 0.7787 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.4751, allocations: 15.81 kB / 0.7787 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.4754, allocations: 154.9 kB / 0.7788 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4754, allocations: 3.938 kB / 0.7788 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4754, allocations: 0 / 0.7788 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.4755, allocations: 108.8 kB / 0.7789 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.4755, allocations: 0 / 0.7789 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.4757, allocations: 19.97 kB / 0.779 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4757, allocations: 8 kB / 0.779 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002898/0.476, allocations: 296.2 kB / 0.7793 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003071/0.4764, allocations: 393.7 kB / 0.7796 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.514e-05/0.4764, allocations: 47.97 kB / 0.7797 GB, free: 6.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001266/0.4766, allocations: 149.1 kB / 0.7798 GB, free: 6.191 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/0.4766, allocations: 4 kB / 0.7798 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008961/0.4775, allocations: 398.6 kB / 0.7802 GB, free: 5.793 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007531/0.4782, allocations: 0.7633 MB / 0.7809 GB, free: 4.984 MB / 0.545 GB Notification: Performance of Templates: time 0.00642/0.4847, allocations: 3.389 MB / 0.7843 GB, free: 1.641 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)