Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001242/0.001242, allocations: 189.2 kB / 17.34 MB, free: 5.711 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002585/0.002585, allocations: 284.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4925, allocations: 86.96 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04197/0.5345, allocations: 35.19 MB / 0.8014 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.5535, allocations: 9.952 MB / 0.8112 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.5578, allocations: 147.3 kB / 0.8113 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.5684, allocations: 3.838 MB / 0.815 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.575, allocations: 2.153 MB / 0.8171 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.5802, allocations: 1.961 MB / 0.8191 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.5907, allocations: 7.959 MB / 0.8268 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009793/0.6005, allocations: 7.14 MB / 0.8338 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006751/0.6072, allocations: 3.424 MB / 0.8371 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007109/0.6143, allocations: 3.738 MB / 0.8408 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.6165, allocations: 0.6836 MB / 0.8415 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.6208, allocations: 1.443 MB / 0.8429 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004877/0.6257, allocations: 2.677 MB / 0.8455 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008299/0.634, allocations: 3.108 MB / 0.8485 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.6512, allocations: 10.41 MB / 0.8587 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.6512, allocations: 4 kB / 0.8587 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6512, allocations: 0 / 0.8587 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003519/0.6515, allocations: 0 / 0.8587 GB, free: 5.574 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01603/0.6676, allocations: 5.542 MB / 0.8641 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6676, allocations: 12.03 kB / 0.8641 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.6732, allocations: 0.9928 MB / 0.8651 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/0.6809, allocations: 3.192 MB / 0.8682 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/0.6813, allocations: 357.9 kB / 0.8685 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.6828, allocations: 476.3 kB / 0.869 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.701, allocations: 7.898 MB / 0.8767 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.7011, allocations: 27.75 kB / 0.8767 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005958/0.7017, allocations: 208 kB / 0.8769 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005897/0.7023, allocations: 365.1 kB / 0.8773 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7153, allocations: 5.937 MB / 0.8831 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/0.764, allocations: 36.01 MB / 0.9182 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.7677, allocations: 1.994 MB / 0.9202 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.7698, allocations: 1.34 MB / 0.9215 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.7699, allocations: 17.31 kB / 0.9215 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.7699, allocations: 55.81 kB / 0.9216 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.346e-06/0.7699, allocations: 0 / 0.9216 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01573/0.7857, allocations: 7.571 MB / 0.929 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.7857, allocations: 68.72 kB / 0.929 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.7887, allocations: 1.86 MB / 0.9308 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.7889, allocations: 57.7 kB / 0.9309 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.7907, allocations: 2.196 MB / 0.933 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.7915, allocations: 0.5771 MB / 0.9336 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006713/0.7921, allocations: 415.9 kB / 0.934 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7923, allocations: 301.1 kB / 0.9343 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.794, allocations: 1.062 MB / 0.9353 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.7963, allocations: 1.76 MB / 0.937 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/0.8005, allocations: 3.052 MB / 0.94 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.8005, allocations: 4 kB / 0.94 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007201/0.8077, allocations: 3.902 MB / 0.9438 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.8078, allocations: 18.5 kB / 0.9439 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.8078, allocations: 24.84 kB / 0.9439 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.8104, allocations: 0.9311 MB / 0.9448 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.8121, allocations: 435.2 kB / 0.9452 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.504/1.316, allocations: 22.75 MB / 0.9674 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.318, allocations: 129.2 kB / 0.9676 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.319, allocations: 95.75 kB / 0.9676 GB, free: 179.4 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003302/1.322, allocations: 1.653 MB / 0.9693 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007096/1.323, allocations: 266.9 kB / 0.9695 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/1.328, allocations: 3.231 MB / 0.9727 GB, free: 178.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.328, allocations: 14.56 kB / 0.9727 GB, free: 178.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.328, allocations: 14.94 kB / 0.9727 GB, free: 178.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.328, allocations: 10.59 kB / 0.9727 GB, free: 178.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.34, allocations: 7.533 MB / 0.9801 GB, free: 175.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.34, allocations: 5.719 kB / 0.9801 GB, free: 175.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/1.341, allocations: 211.6 kB / 0.9803 GB, free: 175.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/1.343, allocations: 0.8994 MB / 0.9811 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.343, allocations: 27.84 kB / 0.9812 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/1.358, allocations: 22.74 MB / 1.003 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.358, allocations: 3.906 kB / 1.003 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/1.362, allocations: 3.377 MB / 1.007 GB, free: 154.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.363, allocations: 0.5415 MB / 1.007 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/1.364, allocations: 33.08 kB / 1.007 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.365, allocations: 88.02 kB / 1.007 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/1.365, allocations: 143.1 kB / 1.007 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/1.365, allocations: 43.44 kB / 1.008 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001466/1.367, allocations: 1.226 MB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/1.367, allocations: 0 / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002456/1.369, allocations: 0.9068 MB / 1.01 GB, free: 154 MB / 0.7325 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/1.369, allocations: 159 kB / 1.01 GB, free: 153.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00497/1.374, allocations: 4.293 MB / 1.014 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.374, allocations: 0 / 1.014 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.378, allocations: 2.905 MB / 1.017 GB, free: 146.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/1.381, allocations: 0.8372 MB / 1.018 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.393, allocations: 7.709 MB / 1.025 GB, free: 138.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/1.395, allocations: 3.205 MB / 1.028 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001658/1.397, allocations: 0.5293 MB / 1.029 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.397, allocations: 147.4 kB / 1.029 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.397, allocations: 3.938 kB / 1.029 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05963/1.457, allocations: 41.95 MB / 1.07 GB, free: 93.11 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)