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.001163/0.001163, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.001782/0.001782, allocations: 195 kB / 17.98 MB, free: 5.02 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6869/0.6869, allocations: 115.1 MB / 407 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 60.12 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.334, allocations: 76.16 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03624/0.3703, allocations: 37.92 MB / 0.5946 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.3877, allocations: 11 MB / 0.6054 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004636/0.3924, allocations: 157.1 kB / 0.6055 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.4035, allocations: 4.361 MB / 0.6098 GB, free: 15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008339/0.4118, allocations: 2.216 MB / 0.6119 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006702/0.4186, allocations: 2.171 MB / 0.6141 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.4303, allocations: 9.283 MB / 0.6231 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.4441, allocations: 11.27 MB / 0.6341 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.4509, allocations: 4 MB / 0.638 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007506/0.4584, allocations: 4.502 MB / 0.6424 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.4612, allocations: 0.8242 MB / 0.6432 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.4667, allocations: 1.592 MB / 0.6448 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005119/0.4719, allocations: 3.154 MB / 0.6479 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008054/0.48, allocations: 3.649 MB / 0.6514 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.4948, allocations: 12.31 MB / 0.6635 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.4949, allocations: 0 / 0.6635 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4949, allocations: 0 / 0.6635 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003593/0.4953, allocations: 0 / 0.6635 GB, free: 7.848 MB / 0.4981 GB 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.01384/0.5091, allocations: 6.315 MB / 0.6696 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5092, allocations: 12.03 kB / 0.6696 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.514, allocations: 1.063 MB / 0.6707 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008978/0.523, allocations: 3.618 MB / 0.6742 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/0.5235, allocations: 423.7 kB / 0.6746 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/0.5256, allocations: 0.5433 MB / 0.6751 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.5419, allocations: 9.374 MB / 0.6843 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.5421, allocations: 31.78 kB / 0.6843 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.5426, allocations: 244 kB / 0.6846 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005403/0.5432, allocations: 422.9 kB / 0.685 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.5566, allocations: 7.127 MB / 0.6919 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04207/0.5987, allocations: 41.01 MB / 0.732 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.603, allocations: 3.096 MB / 0.735 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/0.6057, allocations: 2.137 MB / 0.7371 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.6059, allocations: 22 kB / 0.7371 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.6059, allocations: 60.42 kB / 0.7372 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 5.55e-06/0.6059, allocations: 4 kB / 0.7372 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.2768/0.8828, allocations: 10.55 MB / 0.7475 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.8828, allocations: 84.11 kB / 0.7475 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.8862, allocations: 2.002 MB / 0.7495 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.8866, allocations: 63.92 kB / 0.7496 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.8886, allocations: 2.403 MB / 0.7519 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.8893, allocations: 0.7338 MB / 0.7526 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/0.8901, allocations: 475.7 kB / 0.7531 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.8901, allocations: 303.3 kB / 0.7534 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.8922, allocations: 1.374 MB / 0.7547 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.8949, allocations: 2.106 MB / 0.7568 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/0.8998, allocations: 3.769 MB / 0.7604 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.8998, allocations: 6.719 kB / 0.7605 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008575/0.9084, allocations: 5.074 MB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.9085, allocations: 14.03 kB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.9085, allocations: 28.05 kB / 0.7655 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/0.912, allocations: 1.585 MB / 0.767 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.9136, allocations: 450.1 kB / 0.7674 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.9327, allocations: 18.58 MB / 0.7856 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.9347, allocations: 151 kB / 0.7857 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.9349, allocations: 105.8 kB / 0.7858 GB, free: 135.4 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00225/0.9372, allocations: 1.939 MB / 0.7877 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.9375, allocations: 288.8 kB / 0.788 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.9428, allocations: 4.458 MB / 0.7923 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.9428, allocations: 19.5 kB / 0.7924 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.9428, allocations: 19.38 kB / 0.7924 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.9428, allocations: 11.67 kB / 0.7924 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.954, allocations: 9.66 MB / 0.8018 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.9541, allocations: 9.5 kB / 0.8018 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/0.9549, allocations: 235.6 kB / 0.8021 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.9575, allocations: 1.433 MB / 0.8035 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.9577, allocations: 36 kB / 0.8035 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.9737, allocations: 18.56 MB / 0.8216 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9737, allocations: 8.188 kB / 0.8216 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005618/0.9794, allocations: 4.541 MB / 0.8261 GB, free: 99.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.9808, allocations: 0.6264 MB / 0.8267 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.9812, allocations: 47.98 kB / 0.8267 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.9823, allocations: 115.9 kB / 0.8268 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000461/0.9828, allocations: 185.3 kB / 0.827 GB, free: 98.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.9829, allocations: 63.98 kB / 0.8271 GB, free: 98.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00142/0.9843, allocations: 1.311 MB / 0.8283 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9843, allocations: 0 / 0.8283 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002989/0.9873, allocations: 1.145 MB / 0.8295 GB, free: 95.75 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/0.9876, allocations: 170.8 kB / 0.8296 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005618/0.9932, allocations: 4.709 MB / 0.8342 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9933, allocations: 5 kB / 0.8342 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.9967, allocations: 2.921 MB / 0.8371 GB, free: 87.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.9998, allocations: 0.8912 MB / 0.8379 GB, free: 87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/1.012, allocations: 9.271 MB / 0.847 GB, free: 77.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.015, allocations: 3.69 MB / 0.8506 GB, free: 73.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001584/1.017, allocations: 0.5518 MB / 0.8511 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/1.017, allocations: 151.4 kB / 0.8513 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.017, allocations: 0 / 0.8513 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.06722/1.084, allocations: 50.78 MB / 0.9009 GB, free: 23.26 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)