Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 107.2 kB / 17.03 MB, free: 5.66 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.001254/0.001254, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.33/1.33, 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.698/0.698, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 494.8 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3809, allocations: 76.15 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02594/0.4069, allocations: 26.63 MB / 0.5836 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.4204, allocations: 8.078 MB / 0.5915 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.4238, allocations: 114.8 kB / 0.5916 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00722/0.4311, allocations: 2.76 MB / 0.5943 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.4369, allocations: 1.589 MB / 0.5958 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004909/0.4419, allocations: 1.674 MB / 0.5975 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007932/0.4498, allocations: 6.136 MB / 0.6035 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0086/0.4584, allocations: 7.337 MB / 0.6106 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.4631, allocations: 2.574 MB / 0.6131 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.4678, allocations: 2.839 MB / 0.6159 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.4694, allocations: 0.5078 MB / 0.6164 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.473, allocations: 1.279 MB / 0.6177 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.4761, allocations: 2.047 MB / 0.6197 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004969/0.4811, allocations: 2.385 MB / 0.622 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4912, allocations: 8.055 MB / 0.6298 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4912, allocations: 4 kB / 0.6298 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4912, allocations: 0 / 0.6298 GB, free: 10.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002807/0.4915, allocations: 4 kB / 0.6299 GB, free: 10.32 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01214/0.5036, allocations: 4.224 MB / 0.634 GB, free: 6.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5037, allocations: 12.03 kB / 0.634 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.5087, allocations: 0.8 MB / 0.6348 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/0.5148, allocations: 2.573 MB / 0.6373 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.5151, allocations: 275.6 kB / 0.6375 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.5165, allocations: 380.5 kB / 0.6379 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.5314, allocations: 5.99 MB / 0.6438 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.5316, allocations: 23.78 kB / 0.6438 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009123/0.5325, allocations: 156 kB / 0.6439 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006406/0.5332, allocations: 282.9 kB / 0.6442 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009642/0.5429, allocations: 4.516 MB / 0.6486 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.576, allocations: 27.46 MB / 0.6754 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.5779, allocations: 1.119 MB / 0.6765 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.5794, allocations: 1.023 MB / 0.6775 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.5795, allocations: 9 kB / 0.6775 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.296e-05/0.5796, allocations: 47.56 kB / 0.6776 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 4.428e-06/0.5796, allocations: 0 / 0.6776 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.02173/0.6014, allocations: 9.656 MB / 0.687 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6015, allocations: 68.72 kB / 0.6871 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.6038, allocations: 1.498 MB / 0.6885 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.604, allocations: 53.7 kB / 0.6886 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.6051, allocations: 1.667 MB / 0.6902 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.6055, allocations: 469.3 kB / 0.6907 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000495/0.6061, allocations: 327.2 kB / 0.691 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.6062, allocations: 313.1 kB / 0.6913 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.6075, allocations: 0.9135 MB / 0.6922 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.6091, allocations: 1.467 MB / 0.6936 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.6122, allocations: 2.539 MB / 0.6961 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.6122, allocations: 4 kB / 0.6961 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005559/0.6178, allocations: 3.29 MB / 0.6993 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.6178, allocations: 16.56 kB / 0.6993 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.6178, allocations: 16 kB / 0.6993 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.6201, allocations: 0.7413 MB / 0.7 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.6216, allocations: 387.3 kB / 0.7004 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.6419, allocations: 17.04 MB / 0.7171 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6437, allocations: 95.91 kB / 0.7171 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.6441, allocations: 76 kB / 0.7172 GB, free: 11.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002393/0.6465, allocations: 1.313 MB / 0.7185 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/0.647, allocations: 201.6 kB / 0.7187 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/0.652, allocations: 2.788 MB / 0.7214 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.652, allocations: 12 kB / 0.7214 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6521, allocations: 7.984 kB / 0.7214 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6521, allocations: 7.984 kB / 0.7214 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.6622, allocations: 6.216 MB / 0.7275 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6623, allocations: 4.656 kB / 0.7275 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.6634, allocations: 231.6 kB / 0.7277 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.6654, allocations: 0.6829 MB / 0.7284 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.6655, allocations: 31.98 kB / 0.7284 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3025/0.968, allocations: 16.77 MB / 0.7448 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.968, allocations: 8.094 kB / 0.7448 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00666/0.9747, allocations: 4.007 MB / 0.7487 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9759, allocations: 450.9 kB / 0.7492 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.9761, allocations: 35.44 kB / 0.7492 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.977, allocations: 81.53 kB / 0.7493 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.9774, allocations: 121.6 kB / 0.7494 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.9775, allocations: 38.48 kB / 0.7494 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001478/0.979, allocations: 0.9919 MB / 0.7504 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.979, allocations: 0 / 0.7504 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002286/0.9813, allocations: 0.6871 MB / 0.7511 GB, free: 152.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002343/0.9815, allocations: 156.5 kB / 0.7512 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004929/0.9865, allocations: 3.53 MB / 0.7547 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9865, allocations: 2.688 kB / 0.7547 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.9894, allocations: 2.29 MB / 0.7569 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.992, allocations: 0.6675 MB / 0.7576 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.004, allocations: 6.447 MB / 0.7639 GB, free: 146 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.007, allocations: 2.661 MB / 0.7664 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001809/1.009, allocations: 482.7 kB / 0.7669 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/1.009, allocations: 125.3 kB / 0.767 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.009, allocations: 0 / 0.767 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05067/1.06, allocations: 33.64 MB / 0.7999 GB, free: 125.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)