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.005667/0.005667, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.001237/0.001237, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002135, allocations: 278.8 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 99.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3494/0.4957, allocations: 33.31 MB / 0.7989 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02393/0.5197, allocations: 14.82 MB / 0.8134 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/0.5241, allocations: 152.9 kB / 0.8135 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.5353, allocations: 3.676 MB / 0.8171 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.5467, allocations: 2.988 MB / 0.82 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006988/0.5537, allocations: 2.326 MB / 0.8223 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.5656, allocations: 8.83 MB / 0.8309 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.5792, allocations: 9.577 MB / 0.8403 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006913/0.5861, allocations: 4.019 MB / 0.8442 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008224/0.5944, allocations: 4.034 MB / 0.8482 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003453/0.5978, allocations: 0.7148 MB / 0.8489 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/0.6041, allocations: 1.724 MB / 0.8505 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.6085, allocations: 2.826 MB / 0.8533 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005722/0.6143, allocations: 3.396 MB / 0.8566 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.6248, allocations: 11.18 MB / 0.8675 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.6248, allocations: 4 kB / 0.8675 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6248, allocations: 0 / 0.8675 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001832/0.625, allocations: 4 kB / 0.8675 GB, free: 12.18 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01025/0.6352, allocations: 5.983 MB / 0.8734 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6353, allocations: 8.031 kB / 0.8734 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00611/0.6414, allocations: 1.134 MB / 0.8745 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/0.6472, allocations: 3.524 MB / 0.8779 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.6474, allocations: 374.4 kB / 0.8783 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/0.6482, allocations: 0.4922 MB / 0.8788 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.6626, allocations: 7.997 MB / 0.8866 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.6628, allocations: 31.67 kB / 0.8866 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005401/0.6634, allocations: 216 kB / 0.8868 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009431/0.6643, allocations: 437.6 kB / 0.8872 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009861/0.6742, allocations: 6.077 MB / 0.8932 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.7077, allocations: 34.9 MB / 0.9273 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.7104, allocations: 2.035 MB / 0.9292 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.7127, allocations: 1.865 MB / 0.9311 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.7129, allocations: 29.98 kB / 0.9311 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.7129, allocations: 56.5 kB / 0.9312 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.717e-06/0.7129, allocations: 0 / 0.9312 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1339/0.8469, allocations: 38.89 MB / 0.9691 GB, free: 408 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.847, allocations: 81.58 kB / 0.9692 GB, free: 312 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.8499, allocations: 2.278 MB / 0.9714 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.8501, allocations: 73.7 kB / 0.9715 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.8515, allocations: 2.28 MB / 0.9737 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007285/0.8522, allocations: 0.9319 MB / 0.9746 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009585/0.8532, allocations: 0.51 MB / 0.9751 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8533, allocations: 305.1 kB / 0.9754 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.856, allocations: 1.973 MB / 0.9774 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.8591, allocations: 2.599 MB / 0.9799 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006134/0.8653, allocations: 4.933 MB / 0.9847 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.8653, allocations: 4 kB / 0.9847 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0135/0.8788, allocations: 7.757 MB / 0.9923 GB, free: 8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.8788, allocations: 12 kB / 0.9923 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.8789, allocations: 16 kB / 0.9923 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008758/0.8876, allocations: 3.214 MB / 0.9955 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.8893, allocations: 399.4 kB / 0.9958 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04313/0.9325, allocations: 33.87 MB / 1.029 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.9352, allocations: 164.1 kB / 1.029 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.9355, allocations: 112 kB / 1.029 GB, free: 1.355 MB / 0.7794 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.003027/0.9385, allocations: 1.798 MB / 1.031 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.939, allocations: 328.2 kB / 1.031 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.952, allocations: 7.365 MB / 1.038 GB, free: 7.773 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.9521, allocations: 28 kB / 1.038 GB, free: 7.746 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/0.9521, allocations: 28 kB / 1.038 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.9522, allocations: 15.89 kB / 1.039 GB, free: 7.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/0.9735, allocations: 12.93 MB / 1.051 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.9735, allocations: 7.938 kB / 1.051 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.9744, allocations: 235.5 kB / 1.051 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007645/0.9821, allocations: 2.845 MB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.9823, allocations: 56 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04046/1.023, allocations: 32.66 MB / 1.086 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.023, allocations: 11.94 kB / 1.086 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3276/1.35, allocations: 6.876 MB / 1.093 GB, free: 264 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.352, allocations: 0.7781 MB / 1.094 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/1.353, allocations: 55.27 kB / 1.094 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.354, allocations: 167.7 kB / 1.094 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008644/1.355, allocations: 256.8 kB / 1.094 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.355, allocations: 75.06 kB / 1.094 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002166/1.357, allocations: 1.53 MB / 1.096 GB, free: 263.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.357, allocations: 0 / 1.096 GB, free: 263.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003988/1.361, allocations: 1.371 MB / 1.097 GB, free: 263.8 MB / 0.8419 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.0003319/1.362, allocations: 174.4 kB / 1.097 GB, free: 263.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009631/1.371, allocations: 6.932 MB / 1.104 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.371, allocations: 0 / 1.104 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006883/1.378, allocations: 4.409 MB / 1.108 GB, free: 261.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/1.383, allocations: 1.129 MB / 1.109 GB, free: 261.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.4, allocations: 10.09 MB / 1.119 GB, free: 256.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/1.405, allocations: 3.638 MB / 1.123 GB, free: 255.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002157/1.407, allocations: 0.5623 MB / 1.123 GB, free: 255.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.407, allocations: 162.3 kB / 1.123 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/1.407, allocations: 0 / 1.123 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.09535/1.503, allocations: 76.15 MB / 1.198 GB, free: 206.1 MB / 0.8419 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)