Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.987/1.987, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001126/0.001126, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.948/1.948, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008346/0.0008344, allocations: 88.84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.136e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6239, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.8611, allocations: 196.6 MB / 1.165 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.8614, allocations: 99.92 kB / 1.165 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.8109/1.672, allocations: 112.7 MB / 1.276 GB, free: 201 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.618e-06/1.672, allocations: 2.875 kB / 1.276 GB, free: 201 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002186/1.673, allocations: 78.92 kB / 1.276 GB, free: 201 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.009594/1.682, allocations: 2.67 MB / 1.278 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/1.682, allocations: 8.938 kB / 1.278 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/1.688, allocations: 0.6677 MB / 1.279 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/1.694, allocations: 2.062 MB / 1.281 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/1.694, allocations: 97.27 kB / 1.281 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008974/1.695, allocations: 170.3 kB / 1.281 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007188/1.702, allocations: 2.974 MB / 1.284 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009046/1.711, allocations: 4.123 MB / 1.288 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/1.711, allocations: 13.66 kB / 1.288 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/1.711, allocations: 7.203 kB / 1.288 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/1.712, allocations: 170.1 kB / 1.288 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/1.734, allocations: 21 MB / 1.309 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/1.736, allocations: 1.233 MB / 1.31 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/1.737, allocations: 0.9932 MB / 1.311 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/1.737, allocations: 14.44 kB / 1.311 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.737, allocations: 46.34 kB / 1.311 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.108e-06/1.737, allocations: 0 / 1.311 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.00948/1.746, allocations: 4.72 MB / 1.316 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.746, allocations: 66.41 kB / 1.316 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.748, allocations: 0.8185 MB / 1.316 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/1.748, allocations: 25.7 kB / 1.316 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/1.749, allocations: 1.308 MB / 1.318 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/1.749, allocations: 465.9 kB / 1.318 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/1.75, allocations: 2.531 kB / 1.318 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.75, allocations: 371.9 kB / 1.319 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.751, allocations: 0.8288 MB / 1.319 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.752, allocations: 1.282 MB / 1.321 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.754, allocations: 1.065 MB / 1.322 GB, free: 179 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.754, allocations: 8.828 kB / 1.322 GB, free: 179 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005728/1.759, allocations: 3.171 MB / 1.325 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.759, allocations: 11.06 kB / 1.325 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.759, allocations: 14.19 kB / 1.325 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/1.762, allocations: 1.071 MB / 1.326 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.763, allocations: 275.9 kB / 1.326 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.776, allocations: 12.03 MB / 1.338 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.778, allocations: 63.5 kB / 1.338 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.778, allocations: 68.66 kB / 1.338 GB, free: 170.3 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.0003025/1.778, allocations: 139.8 kB / 1.338 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004587/1.783, allocations: 2.811 MB / 1.341 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/1.783, allocations: 151.6 kB / 1.341 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.788, allocations: 2.944 MB / 1.344 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.788, allocations: 14.28 kB / 1.344 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.788, allocations: 14.25 kB / 1.344 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/1.788, allocations: 3.797 kB / 1.344 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009705/1.798, allocations: 5.515 MB / 1.349 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.798, allocations: 2.875 kB / 1.349 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/1.799, allocations: 151.8 kB / 1.349 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/1.801, allocations: 1.011 MB / 1.35 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.801, allocations: 4.469 kB / 1.35 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.813, allocations: 11.73 MB / 1.362 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.813, allocations: 10.88 kB / 1.362 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/1.818, allocations: 3.177 MB / 1.365 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/1.818, allocations: 410 kB / 1.365 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.819, allocations: 7.094 kB / 1.365 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/1.819, allocations: 53.91 kB / 1.365 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/1.82, allocations: 132.7 kB / 1.366 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/1.82, allocations: 39.72 kB / 1.366 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007667/1.821, allocations: 0.6151 MB / 1.366 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.821, allocations: 0 / 1.366 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002452/1.823, allocations: 0.5962 MB / 1.367 GB, free: 156.1 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.00456/1.828, allocations: 4.966 MB / 1.372 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004147/1.832, allocations: 2.883 MB / 1.374 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.832, allocations: 0 / 1.374 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.834, allocations: 1.823 MB / 1.376 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.837, allocations: 393.3 kB / 1.377 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.847, allocations: 4.969 MB / 1.381 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/1.849, allocations: 2.395 MB / 1.384 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001244/1.85, allocations: 331.3 kB / 1.384 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.851, allocations: 0.9906 MB / 1.385 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.693e-06/1.851, allocations: 0 / 1.385 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09946/1.951, allocations: 46.13 MB / 1.43 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.951, allocations: 169.3 kB / 1.43 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/4.968, allocations: 4.031 kB / 1.43 GB, free: 109.9 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)