Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.004579/0.004579, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001119/0.001119, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.215/1.215, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6332/0.6332, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 68.11 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 76.17 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.2557/0.3901, allocations: 37.23 MB / 0.5922 GB, free: 18.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.4083, allocations: 13 MB / 0.6049 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.4116, allocations: 153.4 kB / 0.6051 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007087/0.4188, allocations: 3.616 MB / 0.6086 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.4238, allocations: 2.351 MB / 0.6109 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004923/0.4287, allocations: 2.481 MB / 0.6133 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4396, allocations: 13.35 MB / 0.6264 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.4541, allocations: 11.68 MB / 0.6378 GB, free: 6.023 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.4594, allocations: 3.409 MB / 0.6411 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.4656, allocations: 4.455 MB / 0.6454 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.4671, allocations: 0.4922 MB / 0.6459 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.4712, allocations: 1.814 MB / 0.6477 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.4736, allocations: 2.759 MB / 0.6504 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.477, allocations: 3.27 MB / 0.6536 GB, free: 5.773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009593/0.4866, allocations: 11.66 MB / 0.665 GB, free: 10.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4867, allocations: 0 / 0.665 GB, free: 10.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4867, allocations: 0 / 0.665 GB, free: 10.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002366/0.4869, allocations: 7.938 kB / 0.665 GB, free: 10.08 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01186/0.4988, allocations: 6.35 MB / 0.6712 GB, free: 3.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4988, allocations: 8.031 kB / 0.6712 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009811/0.4998, allocations: 0.7519 MB / 0.6719 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007352/0.5072, allocations: 1.305 MB / 0.6732 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/0.5128, allocations: 3.564 MB / 0.6767 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.5131, allocations: 382.4 kB / 0.677 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007815/0.5139, allocations: 0.5001 MB / 0.6775 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.5261, allocations: 8.886 MB / 0.6862 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.5262, allocations: 27.78 kB / 0.6862 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005087/0.5267, allocations: 219.9 kB / 0.6864 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.5286, allocations: 0.6304 MB / 0.6871 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009892/0.5385, allocations: 7.014 MB / 0.6939 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03719/0.5757, allocations: 40.34 MB / 0.7333 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.5791, allocations: 2.882 MB / 0.7361 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.5822, allocations: 2.659 MB / 0.7387 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.5824, allocations: 34.09 kB / 0.7387 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.5824, allocations: 68.53 kB / 0.7388 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=265): time 3.747e-06/0.5824, allocations: 0 / 0.7388 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=424): time 0.2563/0.8387, allocations: 74.67 MB / 0.8117 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.8388, allocations: 94.73 kB / 0.8118 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.842, allocations: 2.359 MB / 0.8141 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005037/0.8425, allocations: 97.7 kB / 0.8142 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.8438, allocations: 2.337 MB / 0.8165 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.8452, allocations: 1.44 MB / 0.8179 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.8467, allocations: 0.7215 MB / 0.8186 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.8468, allocations: 301.1 kB / 0.8189 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/0.8508, allocations: 3.007 MB / 0.8218 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004514/0.8553, allocations: 3.839 MB / 0.8256 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1998/1.055, allocations: 7.385 MB / 0.8328 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/1.055, allocations: 6.844 kB / 0.8328 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02625/1.081, allocations: 12.56 MB / 0.8451 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/1.082, allocations: 14.56 kB / 0.8451 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.082, allocations: 23.19 kB / 0.8451 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01864/1.1, allocations: 6.02 MB / 0.851 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.102, allocations: 0.4912 MB / 0.8515 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05577/1.158, allocations: 67.17 MB / 0.917 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/1.16, allocations: 223.8 kB / 0.9173 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/1.161, allocations: 156 kB / 0.9174 GB, free: 147.7 MB / 0.6387 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002225/1.163, allocations: 1.99 MB / 0.9193 GB, free: 145.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/1.163, allocations: 391.4 kB / 0.9197 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/1.184, allocations: 12.23 MB / 0.9317 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.184, allocations: 40 kB / 0.9317 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/1.184, allocations: 48 kB / 0.9317 GB, free: 132.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.184, allocations: 27.86 kB / 0.9318 GB, free: 132.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.211, allocations: 19.13 MB / 0.9505 GB, free: 113.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.211, allocations: 8.125 kB / 0.9505 GB, free: 113.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.212, allocations: 291.6 kB / 0.9507 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01653/1.229, allocations: 5.575 MB / 0.9562 GB, free: 107.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/1.229, allocations: 84 kB / 0.9563 GB, free: 107.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05296/1.282, allocations: 64.79 MB / 1.02 GB, free: 39.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.282, allocations: 15.88 kB / 1.02 GB, free: 39.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/1.304, allocations: 15.62 MB / 1.035 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.306, allocations: 1.043 MB / 1.036 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/1.306, allocations: 80.09 kB / 1.036 GB, free: 22.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.308, allocations: 219.7 kB / 1.036 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/1.309, allocations: 406.2 kB / 1.036 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.309, allocations: 108 kB / 1.037 GB, free: 21.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001499/1.311, allocations: 1.553 MB / 1.038 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/1.311, allocations: 4 kB / 1.038 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003972/1.315, allocations: 1.859 MB / 1.04 GB, free: 18.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02232/1.337, allocations: 16.29 MB / 1.056 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.354, allocations: 12.17 MB / 1.068 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.354, allocations: 256 / 1.068 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.1963/1.55, allocations: 8.351 MB / 1.076 GB, free: 202.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.555, allocations: 1.102 MB / 1.077 GB, free: 202.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08651/1.642, allocations: 62.7 MB / 1.138 GB, free: 174.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/1.646, allocations: 4.085 MB / 1.142 GB, free: 172.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002099/1.648, allocations: 0.6715 MB / 1.143 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.649, allocations: 2.13 MB / 1.145 GB, free: 170.9 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/1.649, allocations: 3.938 kB / 1.145 GB, free: 170.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.747/7.396, allocations: 147.6 MB / 1.289 GB, free: 26.72 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/7.396, allocations: 240.3 kB / 1.289 GB, free: 26.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.248/12.64, allocations: 0 / 1.289 GB, free: 26.46 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)