Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 188.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008776/0.0008775, allocations: 95.19 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7458/0.9418, allocations: 189 MB / 1.07 GB, free: 15.05 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.9422, allocations: 97.69 kB / 1.07 GB, free: 15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3413/1.284, allocations: 145.1 MB / 1.212 GB, free: 6.258 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.523e-06/1.284, allocations: 0 / 1.212 GB, free: 6.258 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002694/1.284, allocations: 91.98 kB / 1.212 GB, free: 6.168 MB / 0.823 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.01006/1.294, allocations: 3.22 MB / 1.215 GB, free: 2.887 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.294, allocations: 8.031 kB / 1.215 GB, free: 2.879 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/1.301, allocations: 0.8264 MB / 1.216 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/1.308, allocations: 2.549 MB / 1.218 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/1.308, allocations: 116 kB / 1.218 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/1.31, allocations: 227.9 kB / 1.219 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009301/1.319, allocations: 3.584 MB / 1.222 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.332, allocations: 5.112 MB / 1.227 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/1.332, allocations: 23.77 kB / 1.227 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/1.333, allocations: 8 kB / 1.227 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/1.333, allocations: 211 kB / 1.227 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/1.363, allocations: 26.9 MB / 1.254 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.365, allocations: 1.059 MB / 1.255 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.366, allocations: 0.9426 MB / 1.255 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/1.366, allocations: 17.31 kB / 1.255 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/1.366, allocations: 43.81 kB / 1.256 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.178e-06/1.366, allocations: 0 / 1.256 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.4913/1.857, allocations: 6.772 MB / 1.262 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.857, allocations: 65.78 kB / 1.262 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.86, allocations: 1.067 MB / 1.263 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.86, allocations: 32.77 kB / 1.263 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.862, allocations: 1.679 MB / 1.265 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000719/1.863, allocations: 449.1 kB / 1.265 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/1.863, allocations: 0.9375 kB / 1.265 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.863, allocations: 375.5 kB / 1.266 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.864, allocations: 0.822 MB / 1.266 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.866, allocations: 1.401 MB / 1.268 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.867, allocations: 1.068 MB / 1.269 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.867, allocations: 6.391 kB / 1.269 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005796/1.873, allocations: 2.974 MB / 1.272 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/1.873, allocations: 14.25 kB / 1.272 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/1.873, allocations: 20.39 kB / 1.272 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/1.875, allocations: 0.7013 MB / 1.273 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.877, allocations: 395.5 kB / 1.273 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.891, allocations: 14.94 MB / 1.288 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.893, allocations: 73.47 kB / 1.288 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/1.893, allocations: 78.83 kB / 1.288 GB, free: 220.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004411/1.894, allocations: 164.2 kB / 1.288 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004537/1.898, allocations: 2.446 MB / 1.29 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/1.899, allocations: 191 kB / 1.29 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/1.904, allocations: 2.583 MB / 1.293 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.904, allocations: 13.06 kB / 1.293 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.904, allocations: 7.062 kB / 1.293 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.904, allocations: 13.11 kB / 1.293 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009923/1.914, allocations: 5.372 MB / 1.298 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.914, allocations: 4.688 kB / 1.298 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.915, allocations: 239.8 kB / 1.298 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/1.917, allocations: 0.6277 MB / 1.299 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.917, allocations: 12.75 kB / 1.299 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.928, allocations: 14.68 MB / 1.313 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.928, allocations: 7.844 kB / 1.313 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/1.934, allocations: 4.1 MB / 1.317 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.936, allocations: 434.9 kB / 1.318 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/1.936, allocations: 16 kB / 1.318 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/1.937, allocations: 58.14 kB / 1.318 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/1.937, allocations: 125.1 kB / 1.318 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.015e-05/1.937, allocations: 35.88 kB / 1.318 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001249/1.939, allocations: 0.7897 MB / 1.319 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.939, allocations: 0 / 1.319 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003529/1.942, allocations: 0.6352 MB / 1.319 GB, free: 206.7 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005442/1.948, allocations: 6.048 MB / 1.325 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004175/1.952, allocations: 3.223 MB / 1.328 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.952, allocations: 3.219 kB / 1.328 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.954, allocations: 2.125 MB / 1.331 GB, free: 202 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.957, allocations: 0.53 MB / 1.331 GB, free: 202 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/1.966, allocations: 6.081 MB / 1.337 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/1.969, allocations: 2.733 MB / 1.34 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001625/1.971, allocations: 471.7 kB / 1.34 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.972, allocations: 1.27 MB / 1.341 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.442e-06/1.972, allocations: 0 / 1.341 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/2.052, allocations: 50.72 MB / 1.391 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/2.052, allocations: 178.5 kB / 1.391 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.943, allocations: 1.406 kB / 1.391 GB, free: 197.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)