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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 104.1 kB / 16.4 MB, free: 6.496 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.001469/0.001469, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.3 MB / 406.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.83 kB / 0.5572 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1478, allocations: 76.18 MB / 0.6316 GB, free: 4.789 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03/0.1778, allocations: 26.63 MB / 0.6576 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1924, allocations: 8.086 MB / 0.6655 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.1951, allocations: 119.4 kB / 0.6656 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007085/0.2023, allocations: 2.763 MB / 0.6683 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.207, allocations: 1.578 MB / 0.6699 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.2119, allocations: 1.674 MB / 0.6715 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007826/0.2198, allocations: 6.154 MB / 0.6775 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009698/0.2295, allocations: 7.305 MB / 0.6846 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.2345, allocations: 2.617 MB / 0.6872 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005074/0.2396, allocations: 2.831 MB / 0.69 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001979/0.2416, allocations: 0.5078 MB / 0.6905 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.2456, allocations: 1.275 MB / 0.6917 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003707/0.2493, allocations: 2.054 MB / 0.6937 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005103/0.2544, allocations: 2.385 MB / 0.696 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.2653, allocations: 8.059 MB / 0.7039 GB, free: 10.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2654, allocations: 4 kB / 0.7039 GB, free: 10.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2654, allocations: 3.938 kB / 0.7039 GB, free: 10.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003013/0.2657, allocations: 0 / 0.7039 GB, free: 10.43 MB / 0.545 GB 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.01186/0.2776, allocations: 4.228 MB / 0.708 GB, free: 6.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.2776, allocations: 8.031 kB / 0.7081 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001765/0.2794, allocations: 0.5382 MB / 0.7086 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.2845, allocations: 0.8039 MB / 0.7094 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/0.2913, allocations: 2.573 MB / 0.7119 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.2916, allocations: 275.6 kB / 0.7121 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.2932, allocations: 376.4 kB / 0.7125 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3061, allocations: 5.998 MB / 0.7184 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/0.3063, allocations: 15.84 kB / 0.7184 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000992/0.3074, allocations: 156 kB / 0.7185 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006559/0.308, allocations: 286.8 kB / 0.7188 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009084/0.3171, allocations: 4.516 MB / 0.7232 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03352/0.3507, allocations: 27.46 MB / 0.75 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.3527, allocations: 1.115 MB / 0.7511 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3543, allocations: 1.019 MB / 0.7521 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3544, allocations: 13 kB / 0.7521 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.3545, allocations: 47.56 kB / 0.7522 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.627e-06/0.3545, allocations: 3.938 kB / 0.7522 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.3234/0.6779, allocations: 9.658 MB / 0.7616 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.678, allocations: 65.05 kB / 0.7617 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.68, allocations: 1.5 MB / 0.7631 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.6802, allocations: 50.77 kB / 0.7632 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/0.6811, allocations: 1.667 MB / 0.7648 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.6815, allocations: 468 kB / 0.7652 GB, free: 112.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.682, allocations: 328.7 kB / 0.7656 GB, free: 112 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.682, allocations: 307.5 kB / 0.7658 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.6834, allocations: 0.9118 MB / 0.7667 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.6847, allocations: 1.465 MB / 0.7682 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.6876, allocations: 2.548 MB / 0.7707 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.6877, allocations: 5.312 kB / 0.7707 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006431/0.6941, allocations: 3.285 MB / 0.7739 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.6942, allocations: 12.34 kB / 0.7739 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6942, allocations: 21.47 kB / 0.7739 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.6965, allocations: 0.7439 MB / 0.7746 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.6981, allocations: 380.2 kB / 0.775 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.7103, allocations: 17.05 MB / 0.7916 GB, free: 92.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.712, allocations: 97.67 kB / 0.7917 GB, free: 92.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.7123, allocations: 83.11 kB / 0.7918 GB, free: 92.49 MB / 0.5919 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.001857/0.7141, allocations: 1.307 MB / 0.7931 GB, free: 91.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.7145, allocations: 207.8 kB / 0.7933 GB, free: 91.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.7185, allocations: 2.782 MB / 0.796 GB, free: 90.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.7186, allocations: 15.75 kB / 0.796 GB, free: 90.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7186, allocations: 7.844 kB / 0.796 GB, free: 90.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.7186, allocations: 9.141 kB / 0.796 GB, free: 90.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/0.7278, allocations: 6.211 MB / 0.8021 GB, free: 86.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.7279, allocations: 8.094 kB / 0.8021 GB, free: 86.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.7289, allocations: 228.2 kB / 0.8023 GB, free: 86.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.7307, allocations: 0.6801 MB / 0.803 GB, free: 86.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/0.7308, allocations: 27.59 kB / 0.803 GB, free: 86.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.7417, allocations: 16.78 MB / 0.8194 GB, free: 69.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7417, allocations: 8 kB / 0.8194 GB, free: 69.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/0.7467, allocations: 4.007 MB / 0.8233 GB, free: 65.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.7478, allocations: 450.6 kB / 0.8238 GB, free: 65.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.7481, allocations: 43.92 kB / 0.8238 GB, free: 65.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.7489, allocations: 79.89 kB / 0.8239 GB, free: 64.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.7492, allocations: 112.7 kB / 0.824 GB, free: 64.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.7493, allocations: 44 kB / 0.824 GB, free: 64.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001063/0.7504, allocations: 0.9942 MB / 0.825 GB, free: 63.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7504, allocations: 4 kB / 0.825 GB, free: 63.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002388/0.7528, allocations: 0.6848 MB / 0.8257 GB, free: 63.11 MB / 0.5919 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.004989/0.7578, allocations: 4.606 MB / 0.8302 GB, free: 58.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004327/0.7622, allocations: 3.52 MB / 0.8336 GB, free: 54.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7622, allocations: 4 kB / 0.8336 GB, free: 54.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7648, allocations: 2.29 MB / 0.8358 GB, free: 52.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.7684, allocations: 0.6756 MB / 0.8365 GB, free: 51.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/0.7999, allocations: 21.14 MB / 0.8572 GB, free: 29.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.8025, allocations: 2.666 MB / 0.8598 GB, free: 27.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001425/0.8039, allocations: 489.4 kB / 0.8602 GB, free: 26.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.8051, allocations: 1.28 MB / 0.8615 GB, free: 25.29 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.8051, allocations: 0 / 0.8615 GB, free: 25.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.9062, allocations: 57.81 MB / 0.9179 GB, free: 192 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.57, allocations: 10.16 kB / 0.9179 GB, free: 188 kB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)