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.001691/0.001691, allocations: 104.8 kB / 16.35 MB, free: 5.824 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.001779/0.001779, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.273/1.273, 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.002086/0.002086, allocations: 286.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 99.62 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1577, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3108/0.4685, allocations: 33.31 MB / 0.7141 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02675/0.4953, allocations: 14.83 MB / 0.7286 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004954/0.5003, allocations: 157.2 kB / 0.7288 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009753/0.5101, allocations: 3.646 MB / 0.7323 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008917/0.519, allocations: 2.894 MB / 0.7351 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.5251, allocations: 2.32 MB / 0.7374 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5362, allocations: 8.823 MB / 0.746 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.547, allocations: 9.566 MB / 0.7554 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/0.5532, allocations: 3.965 MB / 0.7592 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.5587, allocations: 4.03 MB / 0.7632 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009771/0.5597, allocations: 0.7188 MB / 0.7639 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.563, allocations: 1.724 MB / 0.7656 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002359/0.5653, allocations: 2.822 MB / 0.7683 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.569, allocations: 3.392 MB / 0.7716 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.579, allocations: 11.19 MB / 0.7826 GB, free: 8.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5791, allocations: 0 / 0.7826 GB, free: 8.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5791, allocations: 4 kB / 0.7826 GB, free: 8.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002029/0.5793, allocations: 0 / 0.7826 GB, free: 8.102 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.01021/0.5895, allocations: 5.985 MB / 0.7884 GB, free: 2.039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5896, allocations: 8.031 kB / 0.7884 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/0.5956, allocations: 1.141 MB / 0.7895 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.6025, allocations: 3.531 MB / 0.793 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.6028, allocations: 370.4 kB / 0.7933 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007211/0.6035, allocations: 500 kB / 0.7938 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.6148, allocations: 8.001 MB / 0.8016 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.615, allocations: 19.78 kB / 0.8016 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.6154, allocations: 220 kB / 0.8018 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009198/0.6164, allocations: 437.6 kB / 0.8023 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009021/0.6254, allocations: 6.085 MB / 0.8082 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.6586, allocations: 34.89 MB / 0.8423 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.6611, allocations: 2.034 MB / 0.8443 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.6633, allocations: 1.854 MB / 0.8461 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.6634, allocations: 22 kB / 0.8461 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.6635, allocations: 64.5 kB / 0.8462 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=171): time 3.507e-06/0.6635, allocations: 3.938 kB / 0.8462 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=276): time 0.134/0.7975, allocations: 38.87 MB / 0.8841 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.7976, allocations: 81.58 kB / 0.8842 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.8007, allocations: 2.282 MB / 0.8864 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.8009, allocations: 69.7 kB / 0.8865 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.8024, allocations: 2.268 MB / 0.8887 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007448/0.8031, allocations: 0.9435 MB / 0.8896 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/0.804, allocations: 0.5022 MB / 0.8901 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8041, allocations: 305.1 kB / 0.8904 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.8067, allocations: 1.977 MB / 0.8923 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.8097, allocations: 2.606 MB / 0.8949 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/0.8156, allocations: 4.925 MB / 0.8997 GB, free: 11.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.8156, allocations: 8 kB / 0.8997 GB, free: 11.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01312/0.8287, allocations: 7.746 MB / 0.9073 GB, free: 3.953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.8288, allocations: 14.03 kB / 0.9073 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.8288, allocations: 20 kB / 0.9073 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008499/0.8373, allocations: 3.213 MB / 0.9104 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.8389, allocations: 399.3 kB / 0.9108 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04076/0.8797, allocations: 33.89 MB / 0.9439 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.8822, allocations: 159.8 kB / 0.9441 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.8824, allocations: 108 kB / 0.9442 GB, free: 13.31 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.002585/0.885, allocations: 1.797 MB / 0.9459 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.8855, allocations: 328.1 kB / 0.9462 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.898, allocations: 7.36 MB / 0.9534 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.898, allocations: 27.98 kB / 0.9535 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/0.8981, allocations: 36.38 kB / 0.9535 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.8981, allocations: 11.95 kB / 0.9535 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2948/1.193, allocations: 12.91 MB / 0.9661 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.193, allocations: 7.266 kB / 0.9661 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/1.194, allocations: 233.5 kB / 0.9663 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007841/1.202, allocations: 2.856 MB / 0.9691 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.202, allocations: 57.22 kB / 0.9692 GB, free: 225 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03631/1.238, allocations: 32.65 MB / 1.001 GB, free: 206.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.238, allocations: 10.25 kB / 1.001 GB, free: 206.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.249, allocations: 6.887 MB / 1.008 GB, free: 203.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.251, allocations: 0.7825 MB / 1.009 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.251, allocations: 51.19 kB / 1.009 GB, free: 203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.253, allocations: 167.7 kB / 1.009 GB, free: 203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008472/1.253, allocations: 257.7 kB / 1.009 GB, free: 202.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.254, allocations: 74.53 kB / 1.009 GB, free: 202.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001733/1.255, allocations: 1.521 MB / 1.011 GB, free: 202.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.255, allocations: 0 / 1.011 GB, free: 202.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002957/1.258, allocations: 1.37 MB / 1.012 GB, free: 202.2 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.0002898/1.259, allocations: 179.5 kB / 1.012 GB, free: 202.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008355/1.267, allocations: 6.935 MB / 1.019 GB, free: 198.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.267, allocations: 0 / 1.019 GB, free: 198.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005604/1.273, allocations: 4.423 MB / 1.023 GB, free: 195.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.276, allocations: 1.121 MB / 1.024 GB, free: 194.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.289, allocations: 10.08 MB / 1.034 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/1.291, allocations: 3.647 MB / 1.038 GB, free: 181 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001575/1.293, allocations: 0.5595 MB / 1.038 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.293, allocations: 159.4 kB / 1.038 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/1.293, allocations: 0 / 1.038 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.08704/1.38, allocations: 75.03 MB / 1.112 GB, free: 106.4 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)