Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001257/0.001257, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.359/1.359, allocations: 222.9 MB / 241 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.002278/0.002278, allocations: 297.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.002171, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4857, allocations: 86.98 MB / 0.7671 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02007/0.5058, allocations: 16.7 MB / 0.7834 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5162, allocations: 6.266 MB / 0.7895 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.5175, allocations: 55.81 kB / 0.7895 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.521, allocations: 1.29 MB / 0.7908 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.523, allocations: 0.8363 MB / 0.7916 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.5266, allocations: 1.55 MB / 0.7931 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.5306, allocations: 3.847 MB / 0.7969 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00571/0.5364, allocations: 4.96 MB / 0.8017 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.5385, allocations: 1.664 MB / 0.8034 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.5412, allocations: 1.987 MB / 0.8053 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008403/0.5421, allocations: 380 kB / 0.8057 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.5442, allocations: 0.8153 MB / 0.8064 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.5463, allocations: 1.493 MB / 0.8079 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.5487, allocations: 1.533 MB / 0.8094 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.5538, allocations: 5.538 MB / 0.8148 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5538, allocations: 4 kB / 0.8148 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5538, allocations: 0 / 0.8148 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.505e-05/0.5539, allocations: 0 / 0.8148 GB, free: 2.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004848/0.5588, allocations: 2.726 MB / 0.8175 GB, free: 200 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5588, allocations: 12.03 kB / 0.8175 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.5626, allocations: 0.7744 MB / 0.8182 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.5647, allocations: 1.435 MB / 0.8196 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5648, allocations: 197.5 kB / 0.8198 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.5652, allocations: 252.3 kB / 0.8201 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/0.5719, allocations: 4.584 MB / 0.8246 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.572, allocations: 7.938 kB / 0.8246 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/0.5723, allocations: 108 kB / 0.8247 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.5725, allocations: 180.2 kB / 0.8248 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/0.5783, allocations: 3.835 MB / 0.8286 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.5994, allocations: 21.26 MB / 0.8493 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.6019, allocations: 2.26 MB / 0.8515 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009856/0.603, allocations: 0.7355 MB / 0.8523 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.603, allocations: 15.92 kB / 0.8523 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.603, allocations: 42.56 kB / 0.8523 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 4.849e-06/0.6031, allocations: 4 kB / 0.8523 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.005449/0.6085, allocations: 4.195 MB / 0.8564 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6086, allocations: 240.5 kB / 0.8567 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.6101, allocations: 1.116 MB / 0.8577 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.6102, allocations: 37.7 kB / 0.8578 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.611, allocations: 1.195 MB / 0.8589 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.6112, allocations: 252.6 kB / 0.8592 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/0.6117, allocations: 331 kB / 0.8595 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6118, allocations: 341.9 kB / 0.8598 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009838/0.6128, allocations: 0.7113 MB / 0.8605 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6142, allocations: 1.403 MB / 0.8619 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.6166, allocations: 2.167 MB / 0.864 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.6166, allocations: 4 kB / 0.864 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003077/0.6197, allocations: 2.179 MB / 0.8661 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6198, allocations: 16.94 kB / 0.8662 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.6198, allocations: 27.94 kB / 0.8662 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.6198, allocations: 32 kB / 0.8662 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6213, allocations: 435.2 kB / 0.8666 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.291e-05/0.6213, allocations: 43.86 kB / 0.8667 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6226, allocations: 195.3 kB / 0.8669 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.6227, allocations: 91.91 kB / 0.8669 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002169/0.6249, allocations: 1.538 MB / 0.8684 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001281/0.6262, allocations: 1.322 MB / 0.8697 GB, free: 7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002112/0.6283, allocations: 1.98 MB / 0.8717 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.055e-05/0.6283, allocations: 8 kB / 0.8717 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002799/0.6312, allocations: 1.98 MB / 0.8736 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.6312, allocations: 16 kB / 0.8736 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.6312, allocations: 27.98 kB / 0.8737 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.6312, allocations: 39.94 kB / 0.8737 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6325, allocations: 387.3 kB / 0.8741 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.202e-05/0.6326, allocations: 55.78 kB / 0.8741 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.6337, allocations: 143.5 kB / 0.8743 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.6338, allocations: 83.98 kB / 0.8743 GB, free: 1.934 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0004135/0.6342, allocations: 287.7 kB / 0.8746 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.6346, allocations: 106.7 kB / 0.8747 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.6363, allocations: 1.104 MB / 0.8758 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6364, allocations: 3.984 kB / 0.8758 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6364, allocations: 4 kB / 0.8758 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.6368, allocations: 291.7 kB / 0.8761 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.6369, allocations: 23.94 kB / 0.8761 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.6381, allocations: 167.7 kB / 0.8763 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6382, allocations: 51.77 kB / 0.8763 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001935/0.6401, allocations: 1.738 MB / 0.878 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001663/0.6418, allocations: 1.818 MB / 0.8798 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005791/0.6424, allocations: 0.4982 MB / 0.8803 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009737/0.6434, allocations: 0.7659 MB / 0.881 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of Backend: time 2.51e-07/0.6434, allocations: 0 / 0.881 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004697/0.6481, allocations: 2.325 MB / 0.8833 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006783/0.6549, allocations: 4.057 MB / 0.8872 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.03872/0.6936, allocations: 24.12 MB / 0.9108 GB, free: 12.63 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)