Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 112.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.001807/0.001807, 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.357/1.357, 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.002131/0.002131, allocations: 287.6 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.96/0.96, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 99.78 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4701, allocations: 86.98 MB / 0.7671 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0119/0.482, allocations: 10.06 MB / 0.7769 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.4873, allocations: 3.185 MB / 0.78 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.4877, allocations: 39.81 kB / 0.78 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.4892, allocations: 0.5962 MB / 0.7806 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.4904, allocations: 0.7427 MB / 0.7814 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.4917, allocations: 0.7354 MB / 0.7821 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002778/0.4945, allocations: 2.996 MB / 0.785 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.4972, allocations: 2.583 MB / 0.7875 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.4986, allocations: 1.27 MB / 0.7888 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.5004, allocations: 1.558 MB / 0.7903 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003153/0.5007, allocations: 236 kB / 0.7905 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/0.5017, allocations: 0.4993 MB / 0.791 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.5026, allocations: 1.064 MB / 0.792 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.5036, allocations: 1.116 MB / 0.7931 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.5067, allocations: 3.687 MB / 0.7967 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5067, allocations: 0 / 0.7967 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5067, allocations: 0 / 0.7967 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.5067, allocations: 4 kB / 0.7967 GB, free: 5.543 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003502/0.5102, allocations: 2.146 MB / 0.7988 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5103, allocations: 8.031 kB / 0.7988 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009009/0.5193, allocations: 1.309 MB / 0.8001 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5211, allocations: 1.298 MB / 0.8014 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.5212, allocations: 115.4 kB / 0.8015 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.5215, allocations: 148.3 kB / 0.8016 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.5262, allocations: 3.439 MB / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.5263, allocations: 11.84 kB / 0.805 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.5265, allocations: 63.95 kB / 0.8051 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.5268, allocations: 207.1 kB / 0.8053 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.5313, allocations: 3.124 MB / 0.8083 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.5467, allocations: 13.55 MB / 0.8215 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.5492, allocations: 1.729 MB / 0.8232 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.5511, allocations: 1.441 MB / 0.8246 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-05/0.5512, allocations: 13 kB / 0.8246 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.5512, allocations: 47.5 kB / 0.8247 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.5512, allocations: 4 kB / 0.8247 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1489/0.7002, allocations: 36.67 MB / 0.8605 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.7002, allocations: 73.41 kB / 0.8606 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7018, allocations: 1.053 MB / 0.8616 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.702, allocations: 61.7 kB / 0.8617 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.7025, allocations: 0.7796 MB / 0.8624 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/0.7031, allocations: 0.6315 MB / 0.863 GB, free: 328 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007895/0.7039, allocations: 363.3 kB / 0.8634 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.704, allocations: 301.1 kB / 0.8637 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.7067, allocations: 1.936 MB / 0.8656 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.7097, allocations: 2.292 MB / 0.8678 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.7157, allocations: 4.4 MB / 0.8721 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7158, allocations: 0 / 0.8721 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02067/0.7365, allocations: 9.021 MB / 0.8809 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.7365, allocations: 11.94 kB / 0.8809 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.7365, allocations: 8 kB / 0.8809 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/0.754, allocations: 4.975 MB / 0.8858 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.7549, allocations: 191.7 kB / 0.886 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06054/0.8155, allocations: 38.89 MB / 0.924 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.8176, allocations: 99.89 kB / 0.9241 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.818, allocations: 71.98 kB / 0.9241 GB, free: 0.9023 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * 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): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001496/0.8195, allocations: 0.8172 MB / 0.9249 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.8199, allocations: 138.5 kB / 0.925 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/0.8406, allocations: 8.882 MB / 0.9337 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.8406, allocations: 7.969 kB / 0.9337 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8406, allocations: 0 / 0.9337 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8419, allocations: 0.632 MB / 0.9343 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/0.8425, allocations: 28 kB / 0.9344 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.844, allocations: 91.88 kB / 0.9345 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006547/0.8447, allocations: 313.3 kB / 0.9348 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01747/0.8621, allocations: 8.083 MB / 0.9427 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008409/0.8706, allocations: 6.428 MB / 0.9489 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002538/0.8731, allocations: 2.139 MB / 0.951 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00103/0.8742, allocations: 0.7382 MB / 0.9517 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of Backend: time 5.01e-07/0.8742, allocations: 0 / 0.9517 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008786/0.883, allocations: 4.374 MB / 0.956 GB, free: 44 kB / 0.7169 GB Notification: Performance of SimCode: time 0.3409/1.224, allocations: 5.256 MB / 0.9611 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.06324/1.287, allocations: 54.1 MB / 1.014 GB, free: 134.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)