Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108.4 kB / 16.41 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.001204/0.001204, allocations: 190.7 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 287.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4822, allocations: 86.97 MB / 0.7671 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02324/0.5055, allocations: 19.28 MB / 0.7859 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.5218, allocations: 9.701 MB / 0.7954 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.5246, allocations: 67.75 kB / 0.7954 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005062/0.5297, allocations: 1.652 MB / 0.797 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.5342, allocations: 1.329 MB / 0.7983 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.5386, allocations: 1.52 MB / 0.7998 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005436/0.5441, allocations: 3.979 MB / 0.8037 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007997/0.5521, allocations: 5.306 MB / 0.8089 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.5559, allocations: 1.847 MB / 0.8107 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.5596, allocations: 1.967 MB / 0.8126 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.5611, allocations: 372 kB / 0.813 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.5638, allocations: 0.7062 MB / 0.8136 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.5663, allocations: 1.423 MB / 0.815 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003662/0.57, allocations: 1.591 MB / 0.8166 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.5772, allocations: 5.411 MB / 0.8219 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5773, allocations: 0 / 0.8219 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5773, allocations: 0 / 0.8219 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000187/0.5775, allocations: 0 / 0.8219 GB, free: 11.7 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.008317/0.5858, allocations: 2.934 MB / 0.8247 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5858, allocations: 8.031 kB / 0.8248 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.5887, allocations: 0.5053 MB / 0.8252 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.5913, allocations: 1.553 MB / 0.8268 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.5915, allocations: 215.2 kB / 0.827 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.5919, allocations: 243.9 kB / 0.8272 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006974/0.5988, allocations: 3.905 MB / 0.831 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.5989, allocations: 4 kB / 0.831 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.5992, allocations: 104 kB / 0.8311 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004822/0.5997, allocations: 177 kB / 0.8313 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.605, allocations: 3.127 MB / 0.8343 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.6228, allocations: 13.61 MB / 0.8476 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.6242, allocations: 0.7525 MB / 0.8484 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/0.6251, allocations: 0.5219 MB / 0.8489 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.6253, allocations: 93.53 kB / 0.849 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007932/0.6261, allocations: 0.5916 MB / 0.8495 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=56): time 2.675e-06/0.6261, allocations: 3.938 kB / 0.8495 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.02587/0.652, allocations: 8.693 MB / 0.858 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.6522, allocations: 402.2 kB / 0.8584 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.6539, allocations: 1.25 MB / 0.8596 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.654, allocations: 41.7 kB / 0.8597 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.6551, allocations: 1.251 MB / 0.8609 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.6553, allocations: 288 kB / 0.8612 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.6558, allocations: 311.2 kB / 0.8615 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6559, allocations: 305.1 kB / 0.8618 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.6571, allocations: 0.7582 MB / 0.8625 GB, free: 348 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.6587, allocations: 1.449 MB / 0.8639 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.6617, allocations: 2.382 MB / 0.8662 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.6617, allocations: 4 kB / 0.8662 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008411/0.6701, allocations: 3.516 MB / 0.8697 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.6702, allocations: 71.41 kB / 0.8697 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.6703, allocations: 20 kB / 0.8698 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005583/0.6759, allocations: 1.334 MB / 0.8711 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.677, allocations: 303.5 kB / 0.8714 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.6928, allocations: 11.45 MB / 0.8825 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.6945, allocations: 139.5 kB / 0.8827 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.6948, allocations: 80 kB / 0.8828 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002512/0.6973, allocations: 1.631 MB / 0.8843 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00162/0.6989, allocations: 1.434 MB / 0.8857 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002783/0.7017, allocations: 2.336 MB / 0.888 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-05/0.7017, allocations: 11.94 kB / 0.888 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.006922/0.7087, allocations: 3.101 MB / 0.8911 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.7088, allocations: 75.39 kB / 0.8911 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.7088, allocations: 24 kB / 0.8912 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.7123, allocations: 0.8602 MB / 0.892 GB, free: 124 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7135, allocations: 327.4 kB / 0.8923 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.7228, allocations: 6.311 MB / 0.8985 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.7245, allocations: 119.7 kB / 0.8986 GB, free: 9.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.7248, allocations: 76 kB / 0.8987 GB, free: 9.016 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005095/0.7253, allocations: 337.3 kB / 0.899 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.7256, allocations: 134.4 kB / 0.8991 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006949/0.7326, allocations: 2.527 MB / 0.9016 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.7326, allocations: 3.984 kB / 0.9016 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7326, allocations: 0 / 0.9016 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.7332, allocations: 323.4 kB / 0.9019 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7336, allocations: 16 kB / 0.9019 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.7345, allocations: 79.89 kB / 0.902 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.7348, allocations: 84.36 kB / 0.9021 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005893/0.7407, allocations: 2.513 MB / 0.9045 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00304/0.7437, allocations: 2.3 MB / 0.9068 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009239/0.7447, allocations: 0.6408 MB / 0.9074 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001307/0.746, allocations: 0.8385 MB / 0.9082 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of Backend: time 3.21e-07/0.746, allocations: 0 / 0.9082 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009547/0.7556, allocations: 4.199 MB / 0.9123 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008391/0.764, allocations: 4.793 MB / 0.917 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of Templates: time 0.06044/0.8245, allocations: 37.42 MB / 0.9535 GB, free: 0.8828 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)