Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009636/0.0009635, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 181.2 kB / 16.92 MB, free: 6.898 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003602, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3361/0.473, allocations: 33.95 MB / 0.5931 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.4914, allocations: 9.827 MB / 0.6027 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006554/0.498, allocations: 122.1 kB / 0.6028 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003919/0.502, allocations: 0.7027 MB / 0.6035 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.5133, allocations: 1.922 MB / 0.6054 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007843/0.5212, allocations: 1.604 MB / 0.607 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01925/0.5405, allocations: 11.19 MB / 0.6179 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02289/0.5634, allocations: 12.17 MB / 0.6298 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.5708, allocations: 2.408 MB / 0.6321 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008165/0.579, allocations: 3.211 MB / 0.6353 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.581, allocations: 280 kB / 0.6355 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/0.5863, allocations: 1.263 MB / 0.6368 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004395/0.5907, allocations: 2.108 MB / 0.6388 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006777/0.5975, allocations: 2.524 MB / 0.6413 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.6126, allocations: 9.866 MB / 0.6509 GB, free: 9.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6126, allocations: 0 / 0.6509 GB, free: 9.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.6126, allocations: 0 / 0.6509 GB, free: 9.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000403/0.613, allocations: 0 / 0.6509 GB, free: 9.531 MB / 478.1 MB 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.01242/0.6255, allocations: 4.352 MB / 0.6552 GB, free: 5.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6255, allocations: 8.031 kB / 0.6552 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00605/0.6316, allocations: 0.9666 MB / 0.6561 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007591/0.6392, allocations: 2.995 MB / 0.6591 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/0.6397, allocations: 357.9 kB / 0.6594 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.6414, allocations: 468.2 kB / 0.6599 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.6622, allocations: 7.898 MB / 0.6676 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/0.6624, allocations: 35.78 kB / 0.6676 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.6638, allocations: 208 kB / 0.6678 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006478/0.6644, allocations: 369.1 kB / 0.6682 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.6779, allocations: 5.933 MB / 0.6739 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05386/0.7318, allocations: 36.28 MB / 0.7094 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/0.7374, allocations: 2.131 MB / 0.7115 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/0.7407, allocations: 1.477 MB / 0.7129 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.7408, allocations: 21.3 kB / 0.7129 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.7409, allocations: 55.81 kB / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 5.02e-06/0.7409, allocations: 0 / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.02278/0.7637, allocations: 7.572 MB / 0.7204 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.7638, allocations: 72.66 kB / 0.7204 GB, free: 14.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/0.7683, allocations: 1.856 MB / 0.7222 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.7687, allocations: 57.7 kB / 0.7223 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/0.7714, allocations: 2.119 MB / 0.7244 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.7725, allocations: 0.5701 MB / 0.7249 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.7729, allocations: 174.1 kB / 0.7251 GB, free: 9.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7731, allocations: 301.1 kB / 0.7254 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/0.776, allocations: 1.066 MB / 0.7264 GB, free: 8.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/0.7796, allocations: 1.756 MB / 0.7281 GB, free: 6.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/0.7866, allocations: 3.052 MB / 0.7311 GB, free: 2.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.7866, allocations: 4 kB / 0.7311 GB, free: 2.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009085/0.7957, allocations: 3.925 MB / 0.735 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.7958, allocations: 12 kB / 0.735 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.7958, allocations: 24 kB / 0.735 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.7983, allocations: 0.9239 MB / 0.7359 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.7999, allocations: 427.2 kB / 0.7363 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.8192, allocations: 21.07 MB / 0.7569 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.8213, allocations: 123.8 kB / 0.757 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.8215, allocations: 99.98 kB / 0.7571 GB, free: 6.367 MB / 0.5762 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.003072/0.8246, allocations: 1.641 MB / 0.7587 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/0.8252, allocations: 257 kB / 0.7589 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/0.8309, allocations: 3.26 MB / 0.7621 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.8309, allocations: 19.94 kB / 0.7621 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.831, allocations: 15.98 kB / 0.7622 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.831, allocations: 11.91 kB / 0.7622 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.8449, allocations: 7.549 MB / 0.7695 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.8449, allocations: 7.984 kB / 0.7695 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.8459, allocations: 215.6 kB / 0.7698 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.8483, allocations: 0.8965 MB / 0.7706 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.8485, allocations: 35.94 kB / 0.7707 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.8682, allocations: 21.04 MB / 0.7912 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.8683, allocations: 4 kB / 0.7912 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006528/0.8748, allocations: 3.387 MB / 0.7945 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.8762, allocations: 0.5292 MB / 0.795 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.8766, allocations: 35.98 kB / 0.7951 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8776, allocations: 91.89 kB / 0.7952 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004034/0.8781, allocations: 141 kB / 0.7953 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.8782, allocations: 44 kB / 0.7953 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001705/0.8799, allocations: 1.221 MB / 0.7965 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8799, allocations: 4 kB / 0.7965 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00318/0.8831, allocations: 0.9023 MB / 0.7974 GB, free: 11.05 MB / 0.6231 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.0003259/0.8834, allocations: 166.4 kB / 0.7976 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006868/0.8903, allocations: 4.424 MB / 0.8019 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8903, allocations: 1 kB / 0.8019 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004552/0.8949, allocations: 2.999 MB / 0.8048 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005204/0.9001, allocations: 0.7621 MB / 0.8056 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.9158, allocations: 9.707 MB / 0.8151 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/0.9195, allocations: 3.213 MB / 0.8182 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002045/0.9215, allocations: 0.5293 MB / 0.8187 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.922, allocations: 143.4 kB / 0.8188 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.922, allocations: 0 / 0.8188 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of Templates: time 0.3563/1.278, allocations: 40.88 MB / 0.8588 GB, free: 195.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)