Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001659/0.001659, allocations: 195 kB / 17.98 MB, free: 5.027 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 115.1 MB / 407 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3707, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0199/0.3907, allocations: 20.22 MB / 0.5773 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.4008, allocations: 6.437 MB / 0.5836 GB, free: 18.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.4039, allocations: 87.72 kB / 0.5837 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.4095, allocations: 2.238 MB / 0.5859 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.4134, allocations: 1.182 MB / 0.587 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.4169, allocations: 1.288 MB / 0.5883 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006219/0.4231, allocations: 4.853 MB / 0.593 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006242/0.4294, allocations: 5.597 MB / 0.5985 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.4326, allocations: 2.091 MB / 0.6006 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.435, allocations: 2.34 MB / 0.6028 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004941/0.4355, allocations: 432 kB / 0.6032 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.4374, allocations: 0.9986 MB / 0.6042 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.4386, allocations: 1.661 MB / 0.6058 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.4405, allocations: 1.914 MB / 0.6077 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.4472, allocations: 6.517 MB / 0.6141 GB, free: 10.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.4472, allocations: 0 / 0.6141 GB, free: 10.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4472, allocations: 0 / 0.6141 GB, free: 10.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001837/0.4474, allocations: 0 / 0.6141 GB, free: 10.58 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006857/0.4543, allocations: 3.463 MB / 0.6175 GB, free: 7.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4543, allocations: 8.031 kB / 0.6175 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.4575, allocations: 0.6371 MB / 0.6181 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.4617, allocations: 2.041 MB / 0.6201 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.4619, allocations: 222.3 kB / 0.6203 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.4624, allocations: 296.2 kB / 0.6206 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007345/0.4697, allocations: 4.894 MB / 0.6254 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.4698, allocations: 11.94 kB / 0.6254 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.4701, allocations: 128 kB / 0.6255 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/0.4705, allocations: 233.7 kB / 0.6257 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/0.4758, allocations: 3.746 MB / 0.6294 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/0.4963, allocations: 21.41 MB / 0.6503 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4981, allocations: 1.303 MB / 0.6516 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.4994, allocations: 1.057 MB / 0.6526 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.4995, allocations: 17 kB / 0.6526 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.4996, allocations: 43.56 kB / 0.6526 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.4996, allocations: 0 / 0.6526 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.02188/0.5215, allocations: 8.652 MB / 0.6611 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5215, allocations: 64.72 kB / 0.6612 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5229, allocations: 1.138 MB / 0.6623 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.612e-05/0.523, allocations: 49.7 kB / 0.6623 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.5238, allocations: 1.296 MB / 0.6636 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.5242, allocations: 485.1 kB / 0.664 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.5246, allocations: 291.3 kB / 0.6643 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.5247, allocations: 305.1 kB / 0.6646 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.5259, allocations: 0.9096 MB / 0.6655 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.5274, allocations: 1.326 MB / 0.6668 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.5305, allocations: 2.426 MB / 0.6692 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5305, allocations: 4 kB / 0.6692 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005903/0.5364, allocations: 3.468 MB / 0.6726 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5364, allocations: 12 kB / 0.6726 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.5365, allocations: 15.94 kB / 0.6726 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.5395, allocations: 1.189 MB / 0.6737 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.5404, allocations: 255.6 kB / 0.674 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.5568, allocations: 13.83 MB / 0.6875 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.558, allocations: 95.98 kB / 0.6876 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.5582, allocations: 63.98 kB / 0.6876 GB, free: 11.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002015/0.5602, allocations: 1.114 MB / 0.6887 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.5606, allocations: 166 kB / 0.6889 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/0.5661, allocations: 3.169 MB / 0.692 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5661, allocations: 16 kB / 0.692 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.5661, allocations: 15.94 kB / 0.692 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.5662, allocations: 7.969 kB / 0.692 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5762, allocations: 6.249 MB / 0.6981 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5763, allocations: 4.375 kB / 0.6981 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.5768, allocations: 147.8 kB / 0.6983 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/0.5795, allocations: 1.069 MB / 0.6993 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.471e-05/0.5796, allocations: 36 kB / 0.6993 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.5957, allocations: 13.52 MB / 0.7126 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5957, allocations: 4 kB / 0.7126 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.601, allocations: 3.154 MB / 0.7156 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6021, allocations: 430.9 kB / 0.716 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6023, allocations: 31.94 kB / 0.7161 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.603, allocations: 80.27 kB / 0.7162 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.6034, allocations: 128.7 kB / 0.7163 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/0.6035, allocations: 36 kB / 0.7163 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00115/0.6047, allocations: 0.7671 MB / 0.7171 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6047, allocations: 0 / 0.7171 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002033/0.6067, allocations: 0.6602 MB / 0.7177 GB, free: 12.49 MB / 0.5606 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.607, allocations: 139.1 kB / 0.7178 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004551/0.6115, allocations: 3.142 MB / 0.7209 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6115, allocations: 8.75 kB / 0.7209 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002766/0.6143, allocations: 1.947 MB / 0.7228 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.6162, allocations: 0.5023 MB / 0.7233 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.6243, allocations: 5.369 MB / 0.7286 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.6266, allocations: 2.336 MB / 0.7308 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009543/0.6276, allocations: 350.1 kB / 0.7312 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.6278, allocations: 91.42 kB / 0.7313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of SimCode: time 4.7e-07/0.6278, allocations: 0 / 0.7313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.2922/0.9201, allocations: 32.67 MB / 0.7632 GB, free: 151.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)