Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.581/2.581, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 189.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001077, allocations: 96.38 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006392, allocations: 12.33 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2568, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9894/1.246, allocations: 187.8 MB / 1.162 GB, free: 12.35 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/1.247, allocations: 101.6 kB / 1.162 GB, free: 12.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1366/1.383, allocations: 31.96 MB / 1.193 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.665e-06/1.383, allocations: 0 / 1.193 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.929e-05/1.383, allocations: 20 kB / 1.193 GB, free: 1.367 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002295/1.386, allocations: 0.8757 MB / 1.194 GB, free: 496 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.386, allocations: 12.02 kB / 1.194 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/1.386, allocations: 104 kB / 1.194 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/1.388, allocations: 202.8 kB / 1.194 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.39, allocations: 0.4993 MB / 1.195 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/1.39, allocations: 42.05 kB / 1.195 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/1.391, allocations: 53.56 kB / 1.195 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.393, allocations: 0.8629 MB / 1.196 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/1.393, allocations: 7.938 kB / 1.196 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/1.393, allocations: 25 kB / 1.196 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/1.393, allocations: 48.34 kB / 1.196 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.394, allocations: 0.5696 MB / 1.196 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007177/1.402, allocations: 4.607 MB / 1.201 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/1.402, allocations: 286.8 kB / 1.201 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/1.402, allocations: 4 kB / 1.201 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.402, allocations: 41.56 kB / 1.201 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.945e-06/1.403, allocations: 0 / 1.201 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.009479/1.412, allocations: 2.636 MB / 1.204 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.412, allocations: 55.41 kB / 1.204 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/1.413, allocations: 401.4 kB / 1.204 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/1.413, allocations: 33.52 kB / 1.204 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/1.413, allocations: 338.8 kB / 1.204 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.413, allocations: 142.7 kB / 1.205 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/1.413, allocations: 10.88 kB / 1.205 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.414, allocations: 366.8 kB / 1.205 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/1.414, allocations: 232.4 kB / 1.205 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/1.415, allocations: 386.7 kB / 1.206 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/1.416, allocations: 290.9 kB / 1.206 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.416, allocations: 0 / 1.206 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002818/1.419, allocations: 0.8967 MB / 1.207 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.419, allocations: 8.5 kB / 1.207 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.419, allocations: 8 kB / 1.207 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.42, allocations: 224 kB / 1.207 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/1.421, allocations: 115.6 kB / 1.207 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0079/1.429, allocations: 5.005 MB / 1.212 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/1.43, allocations: 30.67 kB / 1.212 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.43, allocations: 23.55 kB / 1.212 GB, free: 15.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000507/1.43, allocations: 232.1 kB / 1.212 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.431, allocations: 55.34 kB / 1.212 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/1.433, allocations: 0.7782 MB / 1.213 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.433, allocations: 7.938 kB / 1.213 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.433, allocations: 0 / 1.213 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.433, allocations: 3.984 kB / 1.213 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/1.437, allocations: 1.489 MB / 1.214 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.437, allocations: 4 kB / 1.214 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/1.438, allocations: 63.89 kB / 1.215 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/1.439, allocations: 206.7 kB / 1.215 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/1.44, allocations: 11.56 kB / 1.215 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007747/1.447, allocations: 4.937 MB / 1.22 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.447, allocations: 3.984 kB / 1.22 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/1.451, allocations: 1.219 MB / 1.221 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/1.451, allocations: 169.2 kB / 1.221 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.451, allocations: 10.69 kB / 1.221 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/1.452, allocations: 23.47 kB / 1.221 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.452, allocations: 42.78 kB / 1.221 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/1.452, allocations: 15.48 kB / 1.221 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005825/1.453, allocations: 318.6 kB / 1.221 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.31e-07/1.453, allocations: 0 / 1.221 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00105/1.454, allocations: 177.3 kB / 1.221 GB, free: 6.984 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003756/1.458, allocations: 2.262 MB / 1.224 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002641/1.46, allocations: 0.9845 MB / 1.225 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.46, allocations: 4 kB / 1.225 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.462, allocations: 0.6729 MB / 1.225 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.464, allocations: 162.7 kB / 1.225 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/1.481, allocations: 6.845 MB / 1.232 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.482, allocations: 0.9614 MB / 1.233 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001081/1.483, allocations: 116.8 kB / 1.233 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.484, allocations: 211.6 kB / 1.233 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/1.484, allocations: 3.938 kB / 1.233 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/1.539, allocations: 13.31 MB / 1.246 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/1.54, allocations: 221 kB / 1.247 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/4.42, allocations: 0 / 1.247 GB, free: 14.64 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)