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.001099/0.001099, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001055/0.001055, allocations: 183 kB / 17.34 MB, free: 5.766 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.318/1.318, 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.002214/0.002214, allocations: 289.8 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.9658/0.9658, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.466, allocations: 86.99 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03677/0.5028, allocations: 33.32 MB / 0.7996 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.5272, allocations: 14.81 MB / 0.8141 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004644/0.5319, allocations: 155.2 kB / 0.8142 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.542, allocations: 3.666 MB / 0.8178 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.5534, allocations: 2.99 MB / 0.8207 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006752/0.5601, allocations: 2.327 MB / 0.823 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.5721, allocations: 8.84 MB / 0.8316 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/0.5872, allocations: 9.573 MB / 0.841 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008186/0.5954, allocations: 4.02 MB / 0.8449 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007347/0.6028, allocations: 4.034 MB / 0.8488 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.6051, allocations: 0.7188 MB / 0.8495 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.6104, allocations: 1.716 MB / 0.8512 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.615, allocations: 2.826 MB / 0.854 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007287/0.6223, allocations: 3.392 MB / 0.8573 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.6375, allocations: 11.19 MB / 0.8682 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.6376, allocations: 8 kB / 0.8682 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6376, allocations: 0 / 0.8682 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004043/0.638, allocations: 0 / 0.8682 GB, free: 11.95 MB / 0.6387 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.0166/0.6546, allocations: 5.983 MB / 0.8741 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6547, allocations: 8.031 kB / 0.8741 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007147/0.6618, allocations: 1.134 MB / 0.8752 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.6694, allocations: 3.52 MB / 0.8786 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.6697, allocations: 374.4 kB / 0.879 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.6711, allocations: 0.4961 MB / 0.8795 GB, free: 292 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.6858, allocations: 7.993 MB / 0.8873 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.686, allocations: 27.67 kB / 0.8873 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005855/0.6865, allocations: 216 kB / 0.8875 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001087/0.6876, allocations: 441.6 kB / 0.8879 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.699, allocations: 6.081 MB / 0.8939 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.7399, allocations: 34.89 MB / 0.9279 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.7427, allocations: 2.03 MB / 0.9299 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.7451, allocations: 1.873 MB / 0.9317 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.7452, allocations: 18 kB / 0.9318 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.7453, allocations: 60.5 kB / 0.9318 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 3.557e-06/0.7453, allocations: 0 / 0.9318 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1476/0.8929, allocations: 38.9 MB / 0.9698 GB, free: 180 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.893, allocations: 81.58 kB / 0.9699 GB, free: 84 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3744/1.267, allocations: 2.27 MB / 0.9721 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004712/1.268, allocations: 73.52 kB / 0.9722 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/1.269, allocations: 2.274 MB / 0.9744 GB, free: 182.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008287/1.27, allocations: 0.9414 MB / 0.9753 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009661/1.271, allocations: 0.5083 MB / 0.9758 GB, free: 182 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/1.271, allocations: 305.9 kB / 0.9761 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.274, allocations: 1.974 MB / 0.978 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/1.278, allocations: 2.605 MB / 0.9806 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00584/1.283, allocations: 4.927 MB / 0.9854 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.283, allocations: 3.906 kB / 0.9854 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01348/1.297, allocations: 7.761 MB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.297, allocations: 13.31 kB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.297, allocations: 17.69 kB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008357/1.305, allocations: 3.216 MB / 0.9961 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.307, allocations: 400.2 kB / 0.9965 GB, free: 172.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0358/1.343, allocations: 33.86 MB / 1.03 GB, free: 141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/1.346, allocations: 155.8 kB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/1.346, allocations: 108 kB / 1.03 GB, free: 140.7 MB / 0.7325 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.002568/1.349, allocations: 1.803 MB / 1.032 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/1.349, allocations: 336.1 kB / 1.032 GB, free: 138.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.361, allocations: 7.353 MB / 1.039 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.361, allocations: 31.94 kB / 1.039 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/1.361, allocations: 30.84 kB / 1.039 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.361, allocations: 27.17 kB / 1.039 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/1.38, allocations: 12.91 MB / 1.052 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.38, allocations: 4.844 kB / 1.052 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/1.381, allocations: 231.6 kB / 1.052 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/1.388, allocations: 2.858 MB / 1.055 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.388, allocations: 48 kB / 1.055 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03336/1.422, allocations: 32.67 MB / 1.087 GB, free: 81.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.422, allocations: 8 kB / 1.087 GB, free: 81.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.432, allocations: 6.894 MB / 1.093 GB, free: 74.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.434, allocations: 0.7758 MB / 1.094 GB, free: 73.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.434, allocations: 48 kB / 1.094 GB, free: 73.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.436, allocations: 171.8 kB / 1.094 GB, free: 73.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/1.437, allocations: 253.5 kB / 1.095 GB, free: 72.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.437, allocations: 81.25 kB / 1.095 GB, free: 72.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001884/1.439, allocations: 1.521 MB / 1.096 GB, free: 71.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.439, allocations: 4 kB / 1.096 GB, free: 71.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004174/1.443, allocations: 1.367 MB / 1.098 GB, free: 70.02 MB / 0.7325 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.0004205/1.444, allocations: 181.6 kB / 1.098 GB, free: 69.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009803/1.454, allocations: 6.923 MB / 1.105 GB, free: 62.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.454, allocations: 11.28 kB / 1.105 GB, free: 62.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006639/1.46, allocations: 4.417 MB / 1.109 GB, free: 58.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.465, allocations: 1.114 MB / 1.11 GB, free: 57.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.481, allocations: 10.78 MB / 1.12 GB, free: 46.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.485, allocations: 3.753 MB / 1.124 GB, free: 42.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/1.485, allocations: 167.4 kB / 1.124 GB, free: 42.48 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/1.486, allocations: 0 / 1.124 GB, free: 42.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.5862/2.072, allocations: 227.7 MB / 1.347 GB, free: 257.2 MB / 0.8575 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)