Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001017/0.001017, allocations: 181.2 kB / 371.6 MB, free: 3.355 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.727/1.727, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009149/0.0009149, allocations: 89.72 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.722e-05/6.743e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.339, allocations: 195.9 MB / 1.171 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.34, allocations: 92.28 kB / 1.171 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.358/1.698, allocations: 145.7 MB / 1.314 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.136e-06/1.698, allocations: 0 / 1.314 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002483/1.698, allocations: 99.91 kB / 1.314 GB, free: 11.69 MB / 0.8855 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.009643/1.708, allocations: 3.215 MB / 1.317 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.708, allocations: 12.02 kB / 1.317 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/1.709, allocations: 0.5419 MB / 1.317 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/1.715, allocations: 0.8186 MB / 1.318 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006527/1.721, allocations: 2.552 MB / 1.321 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/1.722, allocations: 271.3 kB / 1.321 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/1.723, allocations: 383.9 kB / 1.321 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/1.734, allocations: 5.64 MB / 1.327 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-05/1.734, allocations: 19.78 kB / 1.327 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/1.735, allocations: 163.9 kB / 1.327 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002524/1.735, allocations: 215 kB / 1.327 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00778/1.743, allocations: 4.056 MB / 1.331 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/1.776, allocations: 27.67 MB / 1.358 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/1.778, allocations: 1.084 MB / 1.359 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/1.779, allocations: 0.9877 MB / 1.36 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/1.779, allocations: 9 kB / 1.36 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.779, allocations: 43.56 kB / 1.36 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 4.368e-06/1.779, allocations: 0 / 1.36 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.01953/1.799, allocations: 7.983 MB / 1.368 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/1.799, allocations: 64.72 kB / 1.368 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/1.801, allocations: 1.262 MB / 1.369 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/1.802, allocations: 49.64 kB / 1.369 GB, free: 15.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.803, allocations: 1.663 MB / 1.371 GB, free: 13.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/1.804, allocations: 473.3 kB / 1.371 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/1.804, allocations: 36 kB / 1.372 GB, free: 13.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002872/1.804, allocations: 369.9 kB / 1.372 GB, free: 13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.806, allocations: 0.8629 MB / 1.373 GB, free: 12.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.807, allocations: 1.444 MB / 1.374 GB, free: 10.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.809, allocations: 1.113 MB / 1.375 GB, free: 9.312 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.809, allocations: 4 kB / 1.375 GB, free: 9.309 MB / 0.948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006104/1.815, allocations: 3.192 MB / 1.378 GB, free: 6.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.815, allocations: 16 kB / 1.378 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.815, allocations: 16 kB / 1.378 GB, free: 6.047 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/1.817, allocations: 0.7184 MB / 1.379 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.819, allocations: 403.3 kB / 1.379 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7597/2.579, allocations: 15.56 MB / 1.395 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/2.581, allocations: 100.1 kB / 1.395 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/2.581, allocations: 80.34 kB / 1.395 GB, free: 193.1 MB / 0.948 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.0004036/2.582, allocations: 214.3 kB / 1.395 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/2.582, allocations: 197.5 kB / 1.395 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/2.588, allocations: 2.722 MB / 1.398 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/2.588, allocations: 16.89 kB / 1.398 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/2.588, allocations: 6.062 kB / 1.398 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/2.588, allocations: 6.047 kB / 1.398 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/2.602, allocations: 6.058 MB / 1.404 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/2.602, allocations: 5.375 kB / 1.404 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/2.603, allocations: 236 kB / 1.404 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/2.605, allocations: 0.6452 MB / 1.405 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/2.605, allocations: 32.33 kB / 1.405 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/2.623, allocations: 15.3 MB / 1.42 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/2.623, allocations: 9.031 kB / 1.42 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007323/2.63, allocations: 4.231 MB / 1.424 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/2.632, allocations: 445.6 kB / 1.424 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/2.632, allocations: 38.47 kB / 1.424 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/2.633, allocations: 81.53 kB / 1.424 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/2.633, allocations: 116 kB / 1.424 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/2.634, allocations: 41.25 kB / 1.424 GB, free: 179.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001409/2.635, allocations: 0.9559 MB / 1.425 GB, free: 179.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/2.635, allocations: 0 / 1.425 GB, free: 179.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002944/2.638, allocations: 0.7026 MB / 1.426 GB, free: 179.8 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 () * 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.006052/2.644, allocations: 6.18 MB / 1.432 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004742/2.649, allocations: 3.39 MB / 1.435 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.649, allocations: 2.656 kB / 1.435 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/2.652, allocations: 2.222 MB / 1.438 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/2.655, allocations: 0.5828 MB / 1.438 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/2.668, allocations: 6.199 MB / 1.444 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/2.671, allocations: 2.73 MB / 1.447 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001894/2.673, allocations: 481.8 kB / 1.447 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/2.674, allocations: 1.276 MB / 1.449 GB, free: 172.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/2.674, allocations: 3.594 kB / 1.449 GB, free: 172.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/2.779, allocations: 54.07 MB / 1.501 GB, free: 170.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/2.78, allocations: 198.3 kB / 1.502 GB, free: 170.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.515/6.295, allocations: 1.156 kB / 1.502 GB, free: 170.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)