Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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/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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 96.97 kB / 15.69 MB, free: 488 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.001968/0.001968, allocations: 177.1 kB / 16.57 MB, free: 6.855 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.449/1.449, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004506, allocations: 9.469 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1838, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3496/0.5334, allocations: 33.01 MB / 0.5891 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.5525, allocations: 10.71 MB / 0.5995 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.5568, allocations: 124.4 kB / 0.5997 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.5598, allocations: 0.759 MB / 0.6004 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008119/0.5679, allocations: 1.708 MB / 0.6021 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007493/0.5755, allocations: 1.299 MB / 0.6033 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.5885, allocations: 4.449 MB / 0.6077 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02607/0.6146, allocations: 12.66 MB / 0.6201 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.6214, allocations: 2.492 MB / 0.6225 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006286/0.6277, allocations: 2.655 MB / 0.6251 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00164/0.6294, allocations: 348.3 kB / 0.6254 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.6333, allocations: 0.5892 MB / 0.626 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.6373, allocations: 2.313 MB / 0.6282 GB, free: 136 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004233/0.6416, allocations: 1.193 MB / 0.6294 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.6565, allocations: 10.03 MB / 0.6392 GB, free: 5.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6566, allocations: 0 / 0.6392 GB, free: 5.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6566, allocations: 4 kB / 0.6392 GB, free: 5.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004994/0.6571, allocations: 0 / 0.6392 GB, free: 5.777 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01423/0.6713, allocations: 5.106 MB / 0.6442 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6714, allocations: 8.031 kB / 0.6442 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006276/0.6777, allocations: 1.015 MB / 0.6452 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.6891, allocations: 3.341 MB / 0.6485 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005179/0.6897, allocations: 427.4 kB / 0.6489 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.692, allocations: 0.539 MB / 0.6494 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.7151, allocations: 9.287 MB / 0.6585 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001693/0.7153, allocations: 23.72 kB / 0.6585 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009987/0.7163, allocations: 248 kB / 0.6587 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006148/0.7169, allocations: 422.9 kB / 0.6591 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.7328, allocations: 7.077 MB / 0.666 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.7811, allocations: 41.35 MB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.7855, allocations: 3.089 MB / 0.7094 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.7857, allocations: 25.98 kB / 0.7095 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.7857, allocations: 60.56 kB / 0.7095 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=209): time 3.537e-06/0.7858, allocations: 0 / 0.7095 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.02346/0.8092, allocations: 10.44 MB / 0.7197 GB, free: 15.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.8093, allocations: 81.36 kB / 0.7198 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.8121, allocations: 1.982 MB / 0.7217 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000304/0.8125, allocations: 61.7 kB / 0.7218 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.814, allocations: 2.396 MB / 0.7241 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/0.8148, allocations: 0.7357 MB / 0.7248 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.8149, allocations: 52 kB / 0.7249 GB, free: 9.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002664/0.8152, allocations: 415.3 kB / 0.7253 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.8174, allocations: 1.364 MB / 0.7266 GB, free: 7.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.8202, allocations: 2.084 MB / 0.7287 GB, free: 5.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.8226, allocations: 1.72 MB / 0.7303 GB, free: 3.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.8226, allocations: 12 kB / 0.7303 GB, free: 3.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008363/0.831, allocations: 5.031 MB / 0.7353 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.831, allocations: 20.03 kB / 0.7353 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/0.8311, allocations: 23.94 kB / 0.7353 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/0.8347, allocations: 1.563 MB / 0.7368 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.8367, allocations: 459.2 kB / 0.7373 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/0.8605, allocations: 17.71 MB / 0.7546 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/0.8639, allocations: 151.9 kB / 0.7547 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/0.8645, allocations: 108 kB / 0.7548 GB, free: 10.11 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004962/0.8695, allocations: 1.937 MB / 0.7567 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009333/0.8704, allocations: 288.7 kB / 0.757 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008694/0.8791, allocations: 4.439 MB / 0.7613 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8792, allocations: 20 kB / 0.7613 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.478e-05/0.8793, allocations: 20 kB / 0.7614 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.8793, allocations: 8.062 kB / 0.7614 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.8995, allocations: 9.641 MB / 0.7708 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.8995, allocations: 12.08 kB / 0.7708 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.9006, allocations: 235.6 kB / 0.771 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/0.904, allocations: 1.428 MB / 0.7724 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002437/0.9043, allocations: 44 kB / 0.7725 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/0.9278, allocations: 17.72 MB / 0.7898 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.9278, allocations: 7.938 kB / 0.7898 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009727/0.9376, allocations: 4.87 MB / 0.7945 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/0.9399, allocations: 0.642 MB / 0.7952 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/0.941, allocations: 43.98 kB / 0.7952 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.943, allocations: 115.9 kB / 0.7953 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000741/0.9438, allocations: 177.7 kB / 0.7955 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/0.9441, allocations: 63.98 kB / 0.7955 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0031/0.9472, allocations: 1.292 MB / 0.7968 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9472, allocations: 0 / 0.7968 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004913/0.9521, allocations: 1.141 MB / 0.7979 GB, free: 13.02 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/0.9526, allocations: 163.8 kB / 0.7981 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008567/0.9612, allocations: 4.676 MB / 0.8026 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.982e-05/0.9612, allocations: 4 kB / 0.8026 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005061/0.9663, allocations: 2.922 MB / 0.8055 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/0.9709, allocations: 0.8027 MB / 0.8063 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.9915, allocations: 11.22 MB / 0.8172 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005546/0.9971, allocations: 3.784 MB / 0.8209 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00249/0.9996, allocations: 0.5557 MB / 0.8215 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/1, allocations: 155.4 kB / 0.8216 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1, allocations: 0 / 0.8216 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of Templates: time 0.4031/1.403, allocations: 48.75 MB / 0.8692 GB, free: 193.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)