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.001096/0.001096, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.001377/0.001377, allocations: 184 kB / 17.58 MB, free: 6.188 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.448/1.448, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7374/0.7374, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 12 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4063, allocations: 77.52 MB / 0.5606 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03461/0.4409, allocations: 36.7 MB / 0.5964 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.4597, allocations: 10.87 MB / 0.6071 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004781/0.4645, allocations: 129.8 kB / 0.6072 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.4679, allocations: 0.7841 MB / 0.608 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.4754, allocations: 2.091 MB / 0.61 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.4811, allocations: 1.788 MB / 0.6117 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.4954, allocations: 13.18 MB / 0.6246 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02323/0.5187, allocations: 14.47 MB / 0.6387 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.5251, allocations: 2.832 MB / 0.6415 GB, free: 316 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007165/0.5323, allocations: 3.873 MB / 0.6453 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.5336, allocations: 344 kB / 0.6456 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.5372, allocations: 1.322 MB / 0.6469 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.5406, allocations: 2.541 MB / 0.6494 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005421/0.546, allocations: 2.956 MB / 0.6523 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.5584, allocations: 10.22 MB / 0.6623 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.5585, allocations: 3.938 kB / 0.6623 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.438e-06/0.5585, allocations: 4 kB / 0.6623 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005483/0.559, allocations: 0 / 0.6623 GB, free: 10.98 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.0156/0.5747, allocations: 5.082 MB / 0.6672 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5747, allocations: 12.03 kB / 0.6672 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/0.5813, allocations: 1.071 MB / 0.6683 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.5886, allocations: 3.419 MB / 0.6716 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004734/0.5891, allocations: 419.8 kB / 0.672 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.591, allocations: 0.551 MB / 0.6726 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.6134, allocations: 9.377 MB / 0.6817 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/0.6137, allocations: 19.88 kB / 0.6817 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.6153, allocations: 252 kB / 0.682 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007304/0.6161, allocations: 418.9 kB / 0.6824 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.6321, allocations: 7.123 MB / 0.6893 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05187/0.684, allocations: 41.37 MB / 0.7297 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/0.6893, allocations: 3.113 MB / 0.7328 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.6926, allocations: 2.114 MB / 0.7348 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.6928, allocations: 22 kB / 0.7349 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.6929, allocations: 60.56 kB / 0.7349 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.027e-06/0.6929, allocations: 4 kB / 0.7349 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.0265/0.7194, allocations: 10.61 MB / 0.7453 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.7195, allocations: 77.34 kB / 0.7454 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2976/1.017, allocations: 1.999 MB / 0.7473 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005001/1.018, allocations: 64.89 kB / 0.7474 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.02, allocations: 2.405 MB / 0.7497 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.021, allocations: 0.7331 MB / 0.7504 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000581/1.021, allocations: 207.6 kB / 0.7506 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/1.021, allocations: 302.8 kB / 0.7509 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/1.024, allocations: 1.374 MB / 0.7523 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.027, allocations: 2.11 MB / 0.7543 GB, free: 153 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005661/1.033, allocations: 3.765 MB / 0.758 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-05/1.033, allocations: 6.156 kB / 0.758 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01033/1.043, allocations: 5.074 MB / 0.763 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/1.044, allocations: 14.66 kB / 0.763 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/1.044, allocations: 21.5 kB / 0.763 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.048, allocations: 1.584 MB / 0.7645 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.049, allocations: 455.6 kB / 0.765 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/1.071, allocations: 17.11 MB / 0.7817 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/1.074, allocations: 145.6 kB / 0.7818 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/1.075, allocations: 112 kB / 0.7819 GB, free: 138.1 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.004293/1.079, allocations: 1.946 MB / 0.7838 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009611/1.08, allocations: 285.2 kB / 0.7841 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007644/1.087, allocations: 4.452 MB / 0.7885 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.088, allocations: 18.69 kB / 0.7885 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-05/1.088, allocations: 18.69 kB / 0.7885 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.088, allocations: 11.3 kB / 0.7885 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.103, allocations: 9.667 MB / 0.7979 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.104, allocations: 9.375 kB / 0.7979 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/1.105, allocations: 231.7 kB / 0.7982 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/1.108, allocations: 1.433 MB / 0.7996 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/1.108, allocations: 40 kB / 0.7996 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/1.125, allocations: 17.11 MB / 0.8163 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.125, allocations: 8.031 kB / 0.8163 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006847/1.132, allocations: 4.552 MB / 0.8208 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.134, allocations: 0.6342 MB / 0.8214 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008035/1.134, allocations: 44 kB / 0.8214 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.136, allocations: 115.9 kB / 0.8215 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005635/1.137, allocations: 181.6 kB / 0.8217 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.137, allocations: 60.25 kB / 0.8218 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001988/1.139, allocations: 1.319 MB / 0.8231 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.139, allocations: 0 / 0.8231 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004442/1.143, allocations: 1.145 MB / 0.8242 GB, free: 101.9 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.000373/1.144, allocations: 162.9 kB / 0.8243 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006818/1.151, allocations: 4.699 MB / 0.8289 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.151, allocations: 4 kB / 0.8289 GB, free: 97.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.155, allocations: 2.922 MB / 0.8318 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006018/1.161, allocations: 0.8254 MB / 0.8326 GB, free: 93.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.179, allocations: 12.55 MB / 0.8448 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/1.184, allocations: 3.784 MB / 0.8485 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/1.185, allocations: 167.4 kB / 0.8487 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.185, allocations: 0 / 0.8487 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.4701/1.655, allocations: 171.2 MB / 1.016 GB, free: 198.3 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)