Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001137/0.001137, allocations: 179.1 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008704/0.0008703, allocations: 99.69 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004193, allocations: 12.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2436, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.17, allocations: 195 MB / 1.17 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/1.17, allocations: 97.5 kB / 1.17 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5018/1.672, allocations: 146.4 MB / 1.313 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.226e-06/1.672, allocations: 0 / 1.313 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005487/1.673, allocations: 95.98 kB / 1.313 GB, free: 11.61 MB / 0.8386 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.01815/1.691, allocations: 3.51 MB / 1.317 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.782e-05/1.691, allocations: 12.03 kB / 1.317 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004771/1.696, allocations: 0.5419 MB / 1.317 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009942/1.706, allocations: 0.8303 MB / 1.318 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/1.718, allocations: 2.561 MB / 1.32 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004846/1.719, allocations: 275.3 kB / 1.321 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/1.721, allocations: 379.8 kB / 1.321 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/1.738, allocations: 5.714 MB / 1.327 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.738, allocations: 15.78 kB / 1.327 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004736/1.739, allocations: 167.9 kB / 1.327 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/1.739, allocations: 211 kB / 1.327 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007906/1.747, allocations: 4.122 MB / 1.331 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/1.783, allocations: 27.67 MB / 1.358 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/1.785, allocations: 1.093 MB / 1.359 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.786, allocations: 13 kB / 1.359 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.786, allocations: 47.5 kB / 1.359 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/1.786, allocations: 0 / 1.359 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.02417/1.81, allocations: 9.552 MB / 1.368 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.81, allocations: 64.72 kB / 1.369 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/1.813, allocations: 1.27 MB / 1.37 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/1.813, allocations: 49.7 kB / 1.37 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.814, allocations: 1.667 MB / 1.371 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/1.815, allocations: 465.4 kB / 1.372 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.815, allocations: 36 kB / 1.372 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.815, allocations: 381.9 kB / 1.372 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.817, allocations: 0.8745 MB / 1.373 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.819, allocations: 1.468 MB / 1.375 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/1.82, allocations: 1.119 MB / 1.376 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.82, allocations: 4 kB / 1.376 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006412/1.827, allocations: 3.219 MB / 1.379 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/1.827, allocations: 19.98 kB / 1.379 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/1.827, allocations: 16 kB / 1.379 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/1.829, allocations: 0.7182 MB / 1.38 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.831, allocations: 391.4 kB / 1.38 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.848, allocations: 15.87 MB / 1.395 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/1.851, allocations: 99.91 kB / 1.396 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.852, allocations: 76 kB / 1.396 GB, free: 2.348 MB / 0.9167 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 () * 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 (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.004244/1.856, allocations: 1.317 MB / 1.397 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009393/1.857, allocations: 201.6 kB / 1.397 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/1.863, allocations: 2.741 MB / 1.4 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.863, allocations: 16 kB / 1.4 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/1.863, allocations: 4 kB / 1.4 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.863, allocations: 3.984 kB / 1.4 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.877, allocations: 6.085 MB / 1.406 GB, free: 7.758 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.877, allocations: 8.031 kB / 1.406 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.878, allocations: 239.6 kB / 1.406 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/1.88, allocations: 0.6439 MB / 1.407 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.88, allocations: 35.94 kB / 1.407 GB, free: 6.809 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/1.896, allocations: 15.59 MB / 1.422 GB, free: 6.016 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.896, allocations: 11.88 kB / 1.422 GB, free: 6.004 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/1.903, allocations: 4.257 MB / 1.426 GB, free: 1.523 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.905, allocations: 450.6 kB / 1.426 GB, free: 1.062 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007505/1.906, allocations: 40.06 kB / 1.426 GB, free: 1.023 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.907, allocations: 83.89 kB / 1.427 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.908, allocations: 116.7 kB / 1.427 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.908, allocations: 36 kB / 1.427 GB, free: 0.793 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6858/2.594, allocations: 0.9723 MB / 1.428 GB, free: 254.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.944e-06/2.594, allocations: 0.9062 kB / 1.428 GB, free: 254.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004791/2.599, allocations: 0.7021 MB / 1.428 GB, free: 254.4 MB / 0.948 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 (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.00904/2.608, allocations: 6.214 MB / 1.434 GB, free: 251.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006481/2.614, allocations: 3.431 MB / 1.438 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/2.614, allocations: 1.031 kB / 1.438 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/2.618, allocations: 2.252 MB / 1.44 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/2.622, allocations: 0.5752 MB / 1.441 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/2.671, allocations: 30.55 MB / 1.47 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/2.676, allocations: 2.734 MB / 1.473 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002652/2.678, allocations: 476.7 kB / 1.473 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.68, allocations: 1.277 MB / 1.475 GB, free: 229.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/2.68, allocations: 2.062 kB / 1.475 GB, free: 229.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/2.788, allocations: 53.77 MB / 1.527 GB, free: 227.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/2.789, allocations: 243.2 kB / 1.527 GB, free: 227.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/6.154, allocations: 4 kB / 1.527 GB, free: 227.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)