Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.6 kB / 16.41 MB, free: 5.973 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.001138/0.001138, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 288 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.9622/0.9622, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 91.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4809, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04306/0.524, allocations: 37.26 MB / 0.8034 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02241/0.5465, allocations: 13.53 MB / 0.8166 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.5506, allocations: 115.6 kB / 0.8168 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00643/0.5571, allocations: 2.291 MB / 0.819 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.5613, allocations: 1.42 MB / 0.8204 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008863/0.5702, allocations: 3.524 MB / 0.8238 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007411/0.5776, allocations: 6.399 MB / 0.8301 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.5903, allocations: 9.885 MB / 0.8397 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.5945, allocations: 2.766 MB / 0.8424 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/0.5993, allocations: 3.198 MB / 0.8455 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.6011, allocations: 0.625 MB / 0.8462 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.6041, allocations: 1.233 MB / 0.8474 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003464/0.6076, allocations: 2.472 MB / 0.8498 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004878/0.6125, allocations: 2.556 MB / 0.8523 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.6229, allocations: 9.137 MB / 0.8612 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.6229, allocations: 4 kB / 0.8612 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.386e-06/0.623, allocations: 0 / 0.8612 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002925/0.6233, allocations: 3.938 kB / 0.8612 GB, free: 3.133 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01078/0.634, allocations: 4.299 MB / 0.8654 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6341, allocations: 8.031 kB / 0.8654 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.6383, allocations: 0.9481 MB / 0.8663 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.6421, allocations: 2.222 MB / 0.8685 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.6423, allocations: 325 kB / 0.8688 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007906/0.6431, allocations: 432.2 kB / 0.8692 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.6553, allocations: 7.362 MB / 0.8764 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.472e-05/0.6554, allocations: 7.938 kB / 0.8764 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00046/0.6559, allocations: 192 kB / 0.8766 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/0.6562, allocations: 282.9 kB / 0.8769 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/0.6656, allocations: 5.959 MB / 0.8827 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03529/0.7009, allocations: 32.37 MB / 0.9143 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.7041, allocations: 2.103 MB / 0.9164 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.7057, allocations: 1.241 MB / 0.9176 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.7059, allocations: 102.1 kB / 0.9177 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.7059, allocations: 47.48 kB / 0.9177 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.605e-06/0.7059, allocations: 0 / 0.9177 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101): time 0.007912/0.7138, allocations: 5.235 MB / 0.9228 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.7139, allocations: 149.4 kB / 0.923 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.7158, allocations: 1.449 MB / 0.9244 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.716, allocations: 45.7 kB / 0.9244 GB, free: 15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.717, allocations: 1.859 MB / 0.9262 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.7174, allocations: 374.8 kB / 0.9266 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/0.7181, allocations: 459.4 kB / 0.927 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.7182, allocations: 309.1 kB / 0.9273 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.7197, allocations: 1.118 MB / 0.9284 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.722, allocations: 2.176 MB / 0.9305 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.7259, allocations: 3.399 MB / 0.9339 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.7259, allocations: 16 kB / 0.9339 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005003/0.7309, allocations: 3.316 MB / 0.9371 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.731, allocations: 20 kB / 0.9371 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.731, allocations: 44.09 kB / 0.9372 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.961e-05/0.7311, allocations: 47.94 kB / 0.9372 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.7332, allocations: 0.6238 MB / 0.9378 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-05/0.7333, allocations: 67.78 kB / 0.9379 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.7351, allocations: 306.7 kB / 0.9382 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.7353, allocations: 112 kB / 0.9383 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003379/0.7387, allocations: 2.407 MB / 0.9407 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002047/0.7408, allocations: 2.015 MB / 0.9426 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003382/0.7442, allocations: 3.029 MB / 0.9456 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.691e-05/0.7442, allocations: 15.98 kB / 0.9456 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004269/0.7485, allocations: 2.922 MB / 0.9484 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7485, allocations: 20 kB / 0.9485 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.7486, allocations: 36 kB / 0.9485 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/0.7486, allocations: 48 kB / 0.9485 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.7504, allocations: 0.5537 MB / 0.9491 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.86e-05/0.7504, allocations: 71.67 kB / 0.9492 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.7522, allocations: 251.2 kB / 0.9494 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.7523, allocations: 112 kB / 0.9495 GB, free: 3.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0004717/0.7528, allocations: 335.3 kB / 0.9498 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.7532, allocations: 154.1 kB / 0.95 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.7565, allocations: 2.227 MB / 0.9521 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.7565, allocations: 15.94 kB / 0.9522 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7565, allocations: 3.984 kB / 0.9522 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.7565, allocations: 11.98 kB / 0.9522 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.771, allocations: 10.97 MB / 0.9629 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/0.771, allocations: 12.97 kB / 0.9629 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.7725, allocations: 379.3 kB / 0.9633 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.7725, allocations: 20 kB / 0.9633 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.7727, allocations: 39.92 kB / 0.9633 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/0.7727, allocations: 19.94 kB / 0.9633 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.7727, allocations: 15.94 kB / 0.9633 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.7758, allocations: 2.755 MB / 0.966 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007758/0.7766, allocations: 454.8 kB / 0.9665 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.7769, allocations: 39.84 kB / 0.9665 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7781, allocations: 171.7 kB / 0.9667 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.7783, allocations: 88.23 kB / 0.9668 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/0.7784, allocations: 44 kB / 0.9668 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001343/0.7798, allocations: 0.9742 MB / 0.9678 GB, free: 72 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7798, allocations: 4 kB / 0.9678 GB, free: 68 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3843/1.164, allocations: 1.121 MB / 0.9688 GB, free: 184.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.0004301/1.165, allocations: 150.5 kB / 0.969 GB, free: 184 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006363/1.171, allocations: 4.014 MB / 0.9729 GB, free: 183.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.171, allocations: 1.125 kB / 0.9729 GB, free: 183.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.173, allocations: 1.06 MB / 0.9739 GB, free: 182.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.175, allocations: 452.2 kB / 0.9744 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.188, allocations: 7.641 MB / 0.9818 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/1.191, allocations: 2.946 MB / 0.9847 GB, free: 178 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/1.191, allocations: 134 kB / 0.9848 GB, free: 178 MB / 0.7325 GB Notification: Performance of SimCode: time 8.91e-07/1.191, allocations: 2.062 kB / 0.9848 GB, free: 178 MB / 0.7325 GB Notification: Performance of Templates: time 0.04386/1.235, allocations: 40.93 MB / 1.025 GB, free: 142.9 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)