Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001123/0.001124, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001099/0.001099, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 275.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 91.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4605, allocations: 86.97 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00523/0.4658, allocations: 3.55 MB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.4685, allocations: 1.729 MB / 0.7722 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.4686, allocations: 4 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.4695, allocations: 239 kB / 0.7724 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.47, allocations: 199 kB / 0.7726 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.4705, allocations: 250.3 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.4711, allocations: 398.7 kB / 0.7732 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.4715, allocations: 213.5 kB / 0.7734 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.4717, allocations: 155.5 kB / 0.7736 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.4721, allocations: 179.3 kB / 0.7738 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.4721, allocations: 28 kB / 0.7738 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.4725, allocations: 255.5 kB / 0.774 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4726, allocations: 107.6 kB / 0.7741 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.4728, allocations: 135.3 kB / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.4733, allocations: 469.1 kB / 0.7747 GB, free: 12.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4733, allocations: 7.938 kB / 0.7747 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4733, allocations: 0 / 0.7747 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4733, allocations: 0 / 0.7747 GB, free: 12 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001179/0.4745, allocations: 0.6369 MB / 0.7753 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4745, allocations: 12.02 kB / 0.7754 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.4753, allocations: 92.55 kB / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.4757, allocations: 295.8 kB / 0.7757 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.4757, allocations: 24.8 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.4758, allocations: 16.38 kB / 0.7758 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.4766, allocations: 418.9 kB / 0.7762 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4767, allocations: 0 / 0.7762 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4767, allocations: 12 kB / 0.7762 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.4768, allocations: 24.3 kB / 0.7762 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.4776, allocations: 392.8 kB / 0.7766 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4795, allocations: 1.595 MB / 0.7781 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4806, allocations: 465 kB / 0.7786 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.481, allocations: 193.6 kB / 0.7788 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.4812, allocations: 97.08 kB / 0.7789 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.4817, allocations: 260.4 kB / 0.7791 GB, free: 7.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.502e-06/0.4817, allocations: 0 / 0.7791 GB, free: 7.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001749/0.4835, allocations: 0.7473 MB / 0.7798 GB, free: 6.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4835, allocations: 85.23 kB / 0.7799 GB, free: 6.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4837, allocations: 232.9 kB / 0.7801 GB, free: 6.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4838, allocations: 29.7 kB / 0.7802 GB, free: 6.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.4839, allocations: 164.3 kB / 0.7803 GB, free: 5.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.484, allocations: 98.64 kB / 0.7804 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4841, allocations: 65.69 kB / 0.7805 GB, free: 5.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4842, allocations: 334.8 kB / 0.7808 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.4846, allocations: 177 kB / 0.781 GB, free: 5.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.485, allocations: 237.3 kB / 0.7812 GB, free: 4.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.4858, allocations: 460.1 kB / 0.7816 GB, free: 4.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4858, allocations: 0 / 0.7816 GB, free: 4.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001081/0.4869, allocations: 0.5289 MB / 0.7821 GB, free: 3.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.487, allocations: 33.69 kB / 0.7822 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.487, allocations: 4 kB / 0.7822 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.4872, allocations: 41.11 kB / 0.7822 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.4876, allocations: 83.86 kB / 0.7823 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.489, allocations: 1.619 MB / 0.7839 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.4894, allocations: 55.64 kB / 0.7839 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4894, allocations: 12 kB / 0.7839 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004818/0.4899, allocations: 272.3 kB / 0.7842 GB, free: 1.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004144/0.4903, allocations: 238 kB / 0.7844 GB, free: 1.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007808/0.4911, allocations: 433.2 kB / 0.7848 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.4911, allocations: 0 / 0.7848 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00105/0.4922, allocations: 0.515 MB / 0.7854 GB, free: 416 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4922, allocations: 33.7 kB / 0.7854 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4922, allocations: 4 kB / 0.7854 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.4924, allocations: 45.03 kB / 0.7854 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.4928, allocations: 79.88 kB / 0.7855 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.4941, allocations: 1.599 MB / 0.7871 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.4944, allocations: 43.75 kB / 0.7871 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.4945, allocations: 15.98 kB / 0.7871 GB, free: 14.43 MB / 0.5606 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.0001452/0.4946, allocations: 202.2 kB / 0.7873 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.4947, allocations: 27.72 kB / 0.7873 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.4957, allocations: 468.7 kB / 0.7878 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4958, allocations: 3.984 kB / 0.7878 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4958, allocations: 4 kB / 0.7878 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4959, allocations: 136.7 kB / 0.7879 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.4959, allocations: 8 kB / 0.7879 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.4963, allocations: 40 kB / 0.788 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4964, allocations: 32.09 kB / 0.788 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00123/0.4976, allocations: 0.6215 MB / 0.7886 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001352/0.499, allocations: 0.8461 MB / 0.7894 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004163/0.4994, allocations: 178.2 kB / 0.7896 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001508/0.4996, allocations: 176.5 kB / 0.7898 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.4996, allocations: 4 kB / 0.7898 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.5018, allocations: 1.023 MB / 0.7908 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00103/0.5028, allocations: 0.9632 MB / 0.7917 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.01265/0.5155, allocations: 7.238 MB / 0.7988 GB, free: 2.367 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)