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_N.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_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.744/1.744, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001306/0.001306, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.649/1.649, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007858/0.0007859, allocations: 80.7 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.448e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6584, allocations: 115.3 MB / 0.9645 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.8913, allocations: 195.6 MB / 1.156 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.8916, allocations: 92.62 kB / 1.156 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.7688/1.66, allocations: 112.7 MB / 1.266 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.815e-06/1.661, allocations: 1.281 kB / 1.266 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004429/1.661, allocations: 75.53 kB / 1.266 GB, free: 199.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01032/1.671, allocations: 2.662 MB / 1.268 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.671, allocations: 13.12 kB / 1.268 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/1.677, allocations: 0.6688 MB / 1.269 GB, free: 198 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006925/1.684, allocations: 2.07 MB / 1.271 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/1.684, allocations: 100.3 kB / 1.271 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/1.686, allocations: 173.3 kB / 1.271 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008093/1.694, allocations: 2.973 MB / 1.274 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/1.708, allocations: 4.119 MB / 1.278 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003261/1.708, allocations: 16.7 kB / 1.278 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0013/1.71, allocations: 6.625 kB / 1.278 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003317/1.71, allocations: 168.1 kB / 1.278 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/1.738, allocations: 20.99 MB / 1.299 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/1.741, allocations: 1.24 MB / 1.3 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/1.742, allocations: 0.99 MB / 1.301 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.143e-05/1.742, allocations: 13.41 kB / 1.301 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.742, allocations: 42.98 kB / 1.301 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 3.357e-06/1.742, allocations: 0 / 1.301 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.01028/1.753, allocations: 4.722 MB / 1.306 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.753, allocations: 69.75 kB / 1.306 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.755, allocations: 0.8195 MB / 1.307 GB, free: 182 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.755, allocations: 29.58 kB / 1.307 GB, free: 182 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/1.756, allocations: 1.303 MB / 1.308 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/1.756, allocations: 465.1 kB / 1.308 GB, free: 181 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.756, allocations: 0 / 1.308 GB, free: 181 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.756, allocations: 371.4 kB / 1.309 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.758, allocations: 0.8279 MB / 1.31 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.759, allocations: 1.286 MB / 1.311 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.761, allocations: 1.063 MB / 1.312 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/1.761, allocations: 8.688 kB / 1.312 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006695/1.768, allocations: 3.171 MB / 1.315 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/1.768, allocations: 16.94 kB / 1.315 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.768, allocations: 14.31 kB / 1.315 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/1.771, allocations: 1.078 MB / 1.316 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.772, allocations: 270.1 kB / 1.316 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.787, allocations: 12.03 MB / 1.328 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.788, allocations: 57.19 kB / 1.328 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.789, allocations: 65.84 kB / 1.328 GB, free: 170.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003269/1.789, allocations: 139.6 kB / 1.328 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004487/1.793, allocations: 2.814 MB / 1.331 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.794, allocations: 152 kB / 1.331 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/1.799, allocations: 2.944 MB / 1.334 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.799, allocations: 13.62 kB / 1.334 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.799, allocations: 13.03 kB / 1.334 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.799, allocations: 10.61 kB / 1.334 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/1.807, allocations: 5.507 MB / 1.339 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.807, allocations: 3.562 kB / 1.339 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/1.808, allocations: 148.2 kB / 1.34 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/1.81, allocations: 1.013 MB / 1.341 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/1.81, allocations: 6.344 kB / 1.341 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.822, allocations: 11.73 MB / 1.352 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.822, allocations: 11.78 kB / 1.352 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/1.826, allocations: 3.179 MB / 1.355 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/1.827, allocations: 408.8 kB / 1.356 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/1.827, allocations: 11.34 kB / 1.356 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/1.828, allocations: 56.66 kB / 1.356 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/1.829, allocations: 124.5 kB / 1.356 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/1.829, allocations: 40.06 kB / 1.356 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007232/1.829, allocations: 0.6203 MB / 1.356 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.829, allocations: 4 kB / 1.356 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002269/1.832, allocations: 0.5925 MB / 1.357 GB, free: 156.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00462/1.836, allocations: 4.962 MB / 1.362 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003982/1.84, allocations: 2.89 MB / 1.365 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.84, allocations: 1.25 kB / 1.365 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/1.843, allocations: 1.826 MB / 1.366 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.845, allocations: 387.6 kB / 1.367 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008734/1.854, allocations: 4.967 MB / 1.372 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/1.856, allocations: 2.394 MB / 1.374 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001021/1.857, allocations: 336.1 kB / 1.374 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/1.858, allocations: 0.9831 MB / 1.375 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/1.858, allocations: 4 kB / 1.375 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/1.933, allocations: 46.14 MB / 1.42 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.933, allocations: 180.9 kB / 1.42 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.979, allocations: 4 kB / 1.42 GB, free: 120.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)