Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 102 kB / 16.27 MB, free: 5.965 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.001084/0.001084, allocations: 192 kB / 17.2 MB, free: 5.59 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 289.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9841/0.9841, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 98.16 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1772, allocations: 86.98 MB / 0.6809 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3379/0.5151, allocations: 33.31 MB / 0.7134 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.5426, allocations: 14.83 MB / 0.7279 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004907/0.5476, allocations: 157 kB / 0.728 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.5582, allocations: 3.647 MB / 0.7316 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.5687, allocations: 2.892 MB / 0.7344 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007618/0.5763, allocations: 2.328 MB / 0.7367 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01391/0.5902, allocations: 8.811 MB / 0.7453 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02102/0.6113, allocations: 9.632 MB / 0.7547 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009531/0.6209, allocations: 3.946 MB / 0.7585 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00773/0.6286, allocations: 4.034 MB / 0.7625 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002812/0.6315, allocations: 0.7148 MB / 0.7632 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006163/0.6377, allocations: 1.716 MB / 0.7648 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.6429, allocations: 2.826 MB / 0.7676 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008429/0.6514, allocations: 3.388 MB / 0.7709 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.669, allocations: 11.12 MB / 0.7818 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6691, allocations: 8 kB / 0.7818 GB, free: 8.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6691, allocations: 0 / 0.7818 GB, free: 8.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004714/0.6696, allocations: 0 / 0.7818 GB, free: 8.688 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01844/0.688, allocations: 5.971 MB / 0.7876 GB, free: 2.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6881, allocations: 12.03 kB / 0.7876 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00792/0.696, allocations: 1.145 MB / 0.7887 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008424/0.7045, allocations: 3.325 MB / 0.792 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/0.7049, allocations: 374.4 kB / 0.7923 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.7069, allocations: 0.4922 MB / 0.7928 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.7253, allocations: 8.001 MB / 0.8006 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/0.7255, allocations: 31.7 kB / 0.8007 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.7268, allocations: 216 kB / 0.8009 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/0.7279, allocations: 433.6 kB / 0.8013 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.7397, allocations: 6.089 MB / 0.8072 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04525/0.785, allocations: 35.16 MB / 0.8416 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.788, allocations: 2.022 MB / 0.8435 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.7906, allocations: 1.865 MB / 0.8454 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.7908, allocations: 21.98 kB / 0.8454 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.7908, allocations: 60.5 kB / 0.8454 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=171): time 3.948e-06/0.7908, allocations: 0 / 0.8454 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=276): time 0.158/0.9489, allocations: 38.88 MB / 0.8834 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.949, allocations: 77.58 kB / 0.8835 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.9528, allocations: 2.282 MB / 0.8857 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004306/0.9533, allocations: 73.7 kB / 0.8858 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.9549, allocations: 2.272 MB / 0.888 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.956, allocations: 0.9356 MB / 0.8889 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.9574, allocations: 0.5101 MB / 0.8894 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9575, allocations: 305.1 kB / 0.8897 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.9606, allocations: 1.966 MB / 0.8916 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.9641, allocations: 2.602 MB / 0.8942 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007162/0.9713, allocations: 4.933 MB / 0.899 GB, free: 12.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.9714, allocations: 4 kB / 0.899 GB, free: 12.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01618/0.9876, allocations: 7.754 MB / 0.9066 GB, free: 4.473 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.9877, allocations: 12 kB / 0.9066 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/0.9877, allocations: 16 kB / 0.9066 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.9979, allocations: 3.248 MB / 0.9098 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.9998, allocations: 399.4 kB / 0.9101 GB, free: 0.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04713/1.047, allocations: 33.9 MB / 0.9433 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/1.05, allocations: 159.8 kB / 0.9434 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/1.051, allocations: 112 kB / 0.9435 GB, free: 13.77 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00338/1.054, allocations: 1.793 MB / 0.9453 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008636/1.055, allocations: 328.2 kB / 0.9456 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.07, allocations: 7.368 MB / 0.9528 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.07, allocations: 32 kB / 0.9528 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.684e-05/1.07, allocations: 28 kB / 0.9528 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.07, allocations: 11.95 kB / 0.9528 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3414/1.411, allocations: 12.91 MB / 0.9655 GB, free: 225.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.412, allocations: 6.094 kB / 0.9655 GB, free: 225.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.413, allocations: 230.9 kB / 0.9657 GB, free: 225.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009441/1.422, allocations: 2.88 MB / 0.9685 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003977/1.423, allocations: 58.11 kB / 0.9685 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04227/1.465, allocations: 32.69 MB / 1 GB, free: 206.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.465, allocations: 21 kB / 1 GB, free: 206.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.477, allocations: 6.876 MB / 1.007 GB, free: 203.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.479, allocations: 0.7811 MB / 1.008 GB, free: 203.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.48, allocations: 54.53 kB / 1.008 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.482, allocations: 168 kB / 1.008 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/1.483, allocations: 254.9 kB / 1.008 GB, free: 203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.483, allocations: 76.88 kB / 1.008 GB, free: 203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001989/1.485, allocations: 1.527 MB / 1.01 GB, free: 202.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.485, allocations: 0 / 1.01 GB, free: 202.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004466/1.49, allocations: 1.368 MB / 1.011 GB, free: 202.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003996/1.49, allocations: 173 kB / 1.011 GB, free: 202.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.502, allocations: 8.373 MB / 1.02 GB, free: 198.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.502, allocations: 4.875 kB / 1.02 GB, free: 198.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006749/1.509, allocations: 4.418 MB / 1.024 GB, free: 194.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/1.515, allocations: 1.118 MB / 1.025 GB, free: 193.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.532, allocations: 10.9 MB / 1.036 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003722/1.535, allocations: 3.757 MB / 1.039 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/1.536, allocations: 171.4 kB / 1.04 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.536, allocations: 3.938 kB / 1.04 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.4742/2.01, allocations: 227.3 MB / 1.262 GB, free: 224.3 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)