Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.521/2.521, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001528/0.001528, allocations: 176.8 kB / 360.6 MB, free: 7.297 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.212/2.212, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001074/0.001074, allocations: 95.27 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.01e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8468, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/1.156, allocations: 170.6 MB / 1.13 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/1.156, allocations: 93.86 kB / 1.13 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.599/2.755, allocations: 200.4 MB / 1.326 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/2.755, allocations: 0 / 1.326 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004805/2.756, allocations: 146.2 kB / 1.326 GB, free: 181.6 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02235/2.778, allocations: 4.868 MB / 1.331 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.778, allocations: 11.19 kB / 1.331 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/2.79, allocations: 1.135 MB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/2.804, allocations: 3.699 MB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/2.804, allocations: 186.2 kB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/2.807, allocations: 328.2 kB / 1.336 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01823/2.825, allocations: 5.684 MB / 1.342 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02803/2.853, allocations: 7.86 MB / 1.349 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003679/2.854, allocations: 26.66 kB / 1.349 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/2.856, allocations: 18.83 kB / 1.349 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/2.857, allocations: 298.5 kB / 1.35 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/2.919, allocations: 40.26 MB / 1.389 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/2.926, allocations: 2.976 MB / 1.392 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004492/2.931, allocations: 2.065 MB / 1.394 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/2.931, allocations: 25.48 kB / 1.394 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/2.931, allocations: 66.47 kB / 1.394 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 5.34e-06/2.931, allocations: 0 / 1.394 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01752/2.949, allocations: 6.289 MB / 1.4 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/2.949, allocations: 75.31 kB / 1.4 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/2.953, allocations: 1.32 MB / 1.401 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005501/2.954, allocations: 29.7 kB / 1.401 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/2.955, allocations: 2.391 MB / 1.404 GB, free: 132 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/2.957, allocations: 0.6942 MB / 1.404 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/2.957, allocations: 0 / 1.404 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002918/2.957, allocations: 414.4 kB / 1.405 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/2.96, allocations: 1.241 MB / 1.406 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003395/2.964, allocations: 2.023 MB / 1.408 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/2.967, allocations: 1.61 MB / 1.41 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/2.968, allocations: 8 kB / 1.41 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01143/2.979, allocations: 4.6 MB / 1.414 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/2.979, allocations: 16 kB / 1.414 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/2.979, allocations: 24 kB / 1.414 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/2.985, allocations: 1.39 MB / 1.415 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/2.988, allocations: 441.3 kB / 1.416 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02802/3.016, allocations: 16.45 MB / 1.432 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/3.019, allocations: 95.86 kB / 1.432 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/3.02, allocations: 108.1 kB / 1.432 GB, free: 105 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005942/3.02, allocations: 182.9 kB / 1.432 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009622/3.03, allocations: 3.982 MB / 1.436 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/3.031, allocations: 268.9 kB / 1.436 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/3.041, allocations: 4.176 MB / 1.441 GB, free: 96.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-05/3.041, allocations: 20 kB / 1.441 GB, free: 96.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/3.041, allocations: 16 kB / 1.441 GB, free: 96.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/3.041, allocations: 15.95 kB / 1.441 GB, free: 96.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/3.063, allocations: 8.544 MB / 1.449 GB, free: 87.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/3.063, allocations: 11.95 kB / 1.449 GB, free: 87.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/3.065, allocations: 236.2 kB / 1.449 GB, free: 87.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/3.07, allocations: 1.375 MB / 1.451 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003334/3.07, allocations: 7.984 kB / 1.451 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02794/3.098, allocations: 16.4 MB / 1.467 GB, free: 69.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/3.098, allocations: 7.938 kB / 1.467 GB, free: 69.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/3.109, allocations: 4.63 MB / 1.471 GB, free: 64.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/3.111, allocations: 0.5955 MB / 1.472 GB, free: 63.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007489/3.112, allocations: 11.94 kB / 1.472 GB, free: 63.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/3.114, allocations: 83.86 kB / 1.472 GB, free: 63.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/3.115, allocations: 181.6 kB / 1.472 GB, free: 63.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/3.115, allocations: 60 kB / 1.472 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001979/3.117, allocations: 0.9646 MB / 1.473 GB, free: 62.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.21e-07/3.117, allocations: 0 / 1.473 GB, free: 62.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005726/3.123, allocations: 1.059 MB / 1.474 GB, free: 61.3 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/3.134, allocations: 6.317 MB / 1.48 GB, free: 54.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01442/3.149, allocations: 4.335 MB / 1.484 GB, free: 50.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/3.149, allocations: 0 / 1.484 GB, free: 50.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008578/3.157, allocations: 2.749 MB / 1.487 GB, free: 47.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/3.163, allocations: 0.6706 MB / 1.488 GB, free: 47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/3.191, allocations: 8.704 MB / 1.496 GB, free: 38.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008267/3.2, allocations: 3.791 MB / 1.5 GB, free: 34.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003321/3.203, allocations: 0.5189 MB / 1.5 GB, free: 33.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004091/3.207, allocations: 1.944 MB / 1.502 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of SimCode: time 1.583e-06/3.207, allocations: 4 kB / 1.502 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/3.412, allocations: 76.32 MB / 1.577 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/3.413, allocations: 160.7 kB / 1.577 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.864/8.276, allocations: 4 kB / 1.577 GB, free: 4.047 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)