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.001493/0.001493, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001302/0.001302, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241.1 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.00212/0.00212, allocations: 290.9 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 0.9822/0.9822, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4924, allocations: 86.96 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005397/0.4979, allocations: 3.551 MB / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.5007, allocations: 1.729 MB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.5009, allocations: 7.938 kB / 0.7722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008671/0.5018, allocations: 231 kB / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.5023, allocations: 203 kB / 0.7726 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.503, allocations: 254.8 kB / 0.7729 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.5035, allocations: 402.7 kB / 0.7732 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.5039, allocations: 211.9 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.5042, allocations: 155.5 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.5046, allocations: 183.3 kB / 0.7738 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.5046, allocations: 28 kB / 0.7738 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.5051, allocations: 251.5 kB / 0.774 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.5052, allocations: 103.7 kB / 0.7741 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.5054, allocations: 139.3 kB / 0.7743 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.506, allocations: 473.2 kB / 0.7747 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.506, allocations: 3.984 kB / 0.7747 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.506, allocations: 4 kB / 0.7747 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.5061, allocations: 0 / 0.7747 GB, free: 12.07 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.001262/0.5073, allocations: 0.6368 MB / 0.7754 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5074, allocations: 8.031 kB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.5081, allocations: 92.56 kB / 0.7754 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.5085, allocations: 287.8 kB / 0.7757 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5085, allocations: 24.8 kB / 0.7757 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.5086, allocations: 16.38 kB / 0.7758 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.5094, allocations: 422.9 kB / 0.7762 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5094, allocations: 3.938 kB / 0.7762 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.5095, allocations: 8 kB / 0.7762 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.5095, allocations: 24.36 kB / 0.7762 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.5104, allocations: 392.7 kB / 0.7766 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.5123, allocations: 1.607 MB / 0.7781 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5134, allocations: 457.9 kB / 0.7786 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.5139, allocations: 193.6 kB / 0.7788 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.514, allocations: 93.09 kB / 0.7789 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005434/0.5146, allocations: 260.4 kB / 0.7791 GB, free: 7.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.5146, allocations: 0 / 0.7791 GB, free: 7.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.00187/0.5165, allocations: 0.7398 MB / 0.7798 GB, free: 6.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.5165, allocations: 92.97 kB / 0.7799 GB, free: 6.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.5168, allocations: 225.1 kB / 0.7801 GB, free: 6.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.5168, allocations: 37.64 kB / 0.7802 GB, free: 6.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5169, allocations: 160.4 kB / 0.7803 GB, free: 5.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.517, allocations: 94.64 kB / 0.7804 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.5171, allocations: 73.69 kB / 0.7805 GB, free: 5.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5172, allocations: 330.8 kB / 0.7808 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.5177, allocations: 177.1 kB / 0.781 GB, free: 5.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.5181, allocations: 241.3 kB / 0.7812 GB, free: 5.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/0.519, allocations: 460.2 kB / 0.7816 GB, free: 4.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.519, allocations: 0 / 0.7816 GB, free: 4.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001167/0.5202, allocations: 0.5328 MB / 0.7821 GB, free: 3.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.5202, allocations: 29.7 kB / 0.7822 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5202, allocations: 4 kB / 0.7822 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.5205, allocations: 49.09 kB / 0.7822 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.5209, allocations: 75.88 kB / 0.7823 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5224, allocations: 1.619 MB / 0.7839 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.5227, allocations: 47.7 kB / 0.7839 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.5228, allocations: 12 kB / 0.7839 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005191/0.5233, allocations: 272.3 kB / 0.7842 GB, free: 1.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004226/0.5237, allocations: 234 kB / 0.7844 GB, free: 1.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008243/0.5246, allocations: 445.4 kB / 0.7848 GB, free: 1.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.5246, allocations: 0 / 0.7848 GB, free: 1.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001151/0.5257, allocations: 0.5111 MB / 0.7853 GB, free: 488 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5258, allocations: 37.69 kB / 0.7854 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5258, allocations: 0 / 0.7854 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.5259, allocations: 40.83 kB / 0.7854 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.5263, allocations: 84.14 kB / 0.7855 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.5278, allocations: 1.603 MB / 0.7871 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.5281, allocations: 51.73 kB / 0.7871 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.5281, allocations: 8 kB / 0.7871 GB, free: 14.5 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.0001682/0.5283, allocations: 208.4 kB / 0.7873 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.5284, allocations: 23.72 kB / 0.7873 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.5295, allocations: 472.9 kB / 0.7878 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5295, allocations: 7.969 kB / 0.7878 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5295, allocations: 3.938 kB / 0.7878 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.5297, allocations: 132.7 kB / 0.7879 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.5297, allocations: 8 kB / 0.7879 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.5301, allocations: 43.92 kB / 0.788 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.5302, allocations: 27.97 kB / 0.788 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001335/0.5315, allocations: 0.6138 MB / 0.7886 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001418/0.533, allocations: 0.8461 MB / 0.7894 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004329/0.5334, allocations: 174.2 kB / 0.7896 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001557/0.5336, allocations: 176.5 kB / 0.7898 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.5336, allocations: 0 / 0.7898 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002355/0.536, allocations: 1.034 MB / 0.7908 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001125/0.5371, allocations: 0.97 MB / 0.7917 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.01227/0.5494, allocations: 7.24 MB / 0.7988 GB, free: 2.434 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)