Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00166/0.00166, allocations: 196.3 kB / 16.14 MB, free: 6.637 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 275.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002897, allocations: 97.53 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1852, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04115/0.2264, allocations: 34.51 MB / 0.7265 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.2459, allocations: 11.51 MB / 0.7377 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.249, allocations: 147.2 kB / 0.7379 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.2597, allocations: 3.984 MB / 0.7418 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.2656, allocations: 1.863 MB / 0.7436 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.272, allocations: 2.179 MB / 0.7457 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01515/0.2872, allocations: 12.41 MB / 0.7578 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3277/0.6149, allocations: 12.31 MB / 0.7699 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/0.6203, allocations: 3.188 MB / 0.773 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/0.6267, allocations: 4.275 MB / 0.7771 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002456/0.6292, allocations: 0.5427 MB / 0.7777 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/0.635, allocations: 2.129 MB / 0.7798 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005548/0.6406, allocations: 2.818 MB / 0.7825 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007469/0.648, allocations: 3.133 MB / 0.7856 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.6602, allocations: 11.83 MB / 0.7971 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6603, allocations: 0 / 0.7971 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6603, allocations: 0 / 0.7971 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002888/0.6606, allocations: 3.375 kB / 0.7971 GB, free: 12.41 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01309/0.6737, allocations: 5.792 MB / 0.8028 GB, free: 9.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6737, allocations: 9.781 kB / 0.8028 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00592/0.6796, allocations: 1.064 MB / 0.8038 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005478/0.6851, allocations: 3.262 MB / 0.807 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.6853, allocations: 411.9 kB / 0.8074 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009652/0.6863, allocations: 0.5365 MB / 0.8079 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.7002, allocations: 9.076 MB / 0.8168 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.7004, allocations: 34.27 kB / 0.8168 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/0.7009, allocations: 241.3 kB / 0.8171 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002665/0.7012, allocations: 344.8 kB / 0.8174 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.7117, allocations: 6.834 MB / 0.8241 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.7585, allocations: 40.11 MB / 0.8632 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.7628, allocations: 3.115 MB / 0.8663 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.7657, allocations: 1.968 MB / 0.8682 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.933e-05/0.7658, allocations: 18 kB / 0.8682 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.7658, allocations: 52.56 kB / 0.8683 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=179): time 3.296e-06/0.7659, allocations: 0 / 0.8683 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=182): time 0.02623/0.7921, allocations: 9.975 MB / 0.878 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.7922, allocations: 76.03 kB / 0.8781 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.7944, allocations: 1.53 MB / 0.8796 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.7946, allocations: 53.7 kB / 0.8796 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.7964, allocations: 2.26 MB / 0.8818 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.797, allocations: 0.625 MB / 0.8824 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/0.7977, allocations: 411.5 kB / 0.8828 GB, free: 372 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7978, allocations: 313 kB / 0.8831 GB, free: 56 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.7998, allocations: 1.176 MB / 0.8843 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.8023, allocations: 1.881 MB / 0.8861 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.807, allocations: 3.371 MB / 0.8894 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.807, allocations: 8 kB / 0.8894 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008516/0.8155, allocations: 4.588 MB / 0.8939 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.8155, allocations: 17.09 kB / 0.8939 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.8156, allocations: 20 kB / 0.8939 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.8198, allocations: 1.585 MB / 0.8955 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.821, allocations: 352.5 kB / 0.8958 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.8455, allocations: 17.02 MB / 0.9124 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8473, allocations: 119.9 kB / 0.9125 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.8475, allocations: 92 kB / 0.9126 GB, free: 1.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003735/0.8512, allocations: 1.903 MB / 0.9145 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.8517, allocations: 221.4 kB / 0.9147 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/0.8595, allocations: 4.097 MB / 0.9187 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.8596, allocations: 16 kB / 0.9187 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.8596, allocations: 16 kB / 0.9187 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8596, allocations: 7.969 kB / 0.9187 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.8764, allocations: 9.471 MB / 0.928 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.8765, allocations: 4 kB / 0.928 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.8773, allocations: 182.1 kB / 0.9282 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/0.8812, allocations: 1.358 MB / 0.9295 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.8813, allocations: 35.94 kB / 0.9295 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02271/0.904, allocations: 15.94 MB / 0.9451 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9041, allocations: 4 kB / 0.9451 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007586/0.9117, allocations: 4.079 MB / 0.9491 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9129, allocations: 0.5295 MB / 0.9496 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.9132, allocations: 36 kB / 0.9496 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000889/0.9141, allocations: 83.89 kB / 0.9497 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.9145, allocations: 171.4 kB / 0.9499 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.9147, allocations: 44 kB / 0.9499 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001489/0.9162, allocations: 1.005 MB / 0.9509 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9162, allocations: 0 / 0.9509 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003207/0.9194, allocations: 0.9922 MB / 0.9519 GB, free: 8.199 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/0.9197, allocations: 142.9 kB / 0.952 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007667/0.9273, allocations: 4.274 MB / 0.9562 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.9274, allocations: 4.938 kB / 0.9562 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004907/0.9323, allocations: 2.67 MB / 0.9588 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/0.9358, allocations: 0.7117 MB / 0.9595 GB, free: 424 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.9542, allocations: 11.01 MB / 0.9702 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004479/0.9587, allocations: 3.58 MB / 0.9737 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001604/0.9603, allocations: 467.9 kB / 0.9742 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.9606, allocations: 119.4 kB / 0.9743 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.9606, allocations: 4 kB / 0.9743 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of Templates: time 0.07933/1.04, allocations: 42.72 MB / 1.016 GB, free: 6.996 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)