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.001264/0.001264, allocations: 106 kB / 16.4 MB, free: 6.504 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.001311/0.001311, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6561/0.6561, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.81 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 76.17 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02672/0.1451, allocations: 26.64 MB / 0.6576 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1579, allocations: 8.086 MB / 0.6655 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.1601, allocations: 115.4 kB / 0.6656 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00659/0.1668, allocations: 2.768 MB / 0.6683 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.1712, allocations: 1.66 MB / 0.6699 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.1752, allocations: 1.684 MB / 0.6716 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006279/0.1815, allocations: 6.15 MB / 0.6776 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/0.1887, allocations: 7.313 MB / 0.6847 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.1922, allocations: 2.617 MB / 0.6873 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.1954, allocations: 2.835 MB / 0.6901 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.1962, allocations: 0.5078 MB / 0.6906 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.1983, allocations: 1.279 MB / 0.6918 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.2, allocations: 2.054 MB / 0.6938 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002757/0.2028, allocations: 2.377 MB / 0.6961 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.2095, allocations: 8.055 MB / 0.704 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2095, allocations: 0 / 0.704 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2096, allocations: 4 kB / 0.704 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00013/0.2097, allocations: 0 / 0.704 GB, free: 10.42 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.007236/0.2169, allocations: 4.236 MB / 0.7081 GB, free: 6.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.217, allocations: 16.03 kB / 0.7082 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006505/0.2177, allocations: 0.5382 MB / 0.7087 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.2215, allocations: 0.7961 MB / 0.7095 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.2256, allocations: 2.581 MB / 0.712 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.2258, allocations: 271.6 kB / 0.7122 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006374/0.2264, allocations: 380.4 kB / 0.7126 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008331/0.2348, allocations: 5.982 MB / 0.7184 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-05/0.2349, allocations: 19.78 kB / 0.7185 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.2352, allocations: 160 kB / 0.7186 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/0.2357, allocations: 282.9 kB / 0.7189 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006535/0.2423, allocations: 4.528 MB / 0.7233 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.2672, allocations: 27.46 MB / 0.7501 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.2687, allocations: 1.119 MB / 0.7512 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.2699, allocations: 1.011 MB / 0.7522 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.56e-05/0.27, allocations: 13 kB / 0.7522 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.27, allocations: 47.56 kB / 0.7523 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.136e-06/0.2701, allocations: 0 / 0.7523 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.273/0.5431, allocations: 9.659 MB / 0.7617 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.5431, allocations: 66.59 kB / 0.7618 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.5452, allocations: 1.501 MB / 0.7632 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.5453, allocations: 46.77 kB / 0.7633 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000911/0.5462, allocations: 1.667 MB / 0.7649 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.5466, allocations: 467.3 kB / 0.7653 GB, free: 112.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.547, allocations: 334.6 kB / 0.7657 GB, free: 112 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.5471, allocations: 303.1 kB / 0.766 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5484, allocations: 0.9191 MB / 0.7668 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.5498, allocations: 1.461 MB / 0.7683 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5525, allocations: 2.552 MB / 0.7708 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.5526, allocations: 5.312 kB / 0.7708 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005725/0.5583, allocations: 3.284 MB / 0.774 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.5583, allocations: 12.12 kB / 0.774 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.5584, allocations: 20.64 kB / 0.774 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.5605, allocations: 0.7387 MB / 0.7747 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.5619, allocations: 384 kB / 0.7751 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.5734, allocations: 17.05 MB / 0.7917 GB, free: 92.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.5749, allocations: 102.2 kB / 0.7918 GB, free: 92.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.575, allocations: 76.11 kB / 0.7919 GB, free: 92.5 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.001641/0.5767, allocations: 1.311 MB / 0.7932 GB, free: 91.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.577, allocations: 207.7 kB / 0.7934 GB, free: 91.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.5809, allocations: 2.775 MB / 0.7961 GB, free: 90.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5809, allocations: 19.78 kB / 0.7961 GB, free: 90.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.581, allocations: 7.875 kB / 0.7961 GB, free: 90.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.581, allocations: 7.734 kB / 0.7961 GB, free: 90.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/0.5888, allocations: 6.215 MB / 0.8022 GB, free: 86.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.5889, allocations: 4.094 kB / 0.8022 GB, free: 86.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000995/0.5899, allocations: 240.8 kB / 0.8024 GB, free: 86.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.5916, allocations: 0.6644 MB / 0.8031 GB, free: 86.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.5917, allocations: 35.03 kB / 0.8031 GB, free: 86.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009916/0.6016, allocations: 16.78 MB / 0.8195 GB, free: 69.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6016, allocations: 8 kB / 0.8195 GB, free: 69.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.6063, allocations: 4.01 MB / 0.8234 GB, free: 65.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/0.607, allocations: 450.7 kB / 0.8239 GB, free: 65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.6072, allocations: 43.83 kB / 0.8239 GB, free: 64.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/0.6079, allocations: 80.02 kB / 0.824 GB, free: 64.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.6082, allocations: 120.7 kB / 0.8241 GB, free: 64.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.6083, allocations: 40 kB / 0.8241 GB, free: 64.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009561/0.6092, allocations: 0.9903 MB / 0.8251 GB, free: 63.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6092, allocations: 0 / 0.8251 GB, free: 63.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00192/0.6112, allocations: 0.6836 MB / 0.8258 GB, free: 63.06 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.004574/0.6157, allocations: 4.613 MB / 0.8303 GB, free: 58.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003895/0.6197, allocations: 3.517 MB / 0.8337 GB, free: 54.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6197, allocations: 192 / 0.8337 GB, free: 54.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.6219, allocations: 2.299 MB / 0.836 GB, free: 52.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.6241, allocations: 0.6636 MB / 0.8366 GB, free: 51.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/0.6471, allocations: 21.14 MB / 0.8572 GB, free: 29.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.649, allocations: 2.67 MB / 0.8599 GB, free: 27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001112/0.6501, allocations: 485.4 kB / 0.8603 GB, free: 26.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.6512, allocations: 1.276 MB / 0.8616 GB, free: 25.25 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/0.6512, allocations: 0 / 0.8616 GB, free: 25.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09563/0.7468, allocations: 57.2 MB / 0.9174 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.36, allocations: 6.109 kB / 0.9174 GB, free: 0.7461 MB / 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)