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.753/2.753, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001489/0.001489, allocations: 185.7 kB / 370.8 MB, free: 10.89 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.195/2.195, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001137/0.001137, allocations: 94.91 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007584/0.0007584, allocations: 12.11 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2366, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9541/1.191, allocations: 171.4 MB / 1.146 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/1.191, allocations: 102.7 kB / 1.146 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8586/2.05, allocations: 202.2 MB / 1.343 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.898e-06/2.05, allocations: 0 / 1.343 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006715/2.051, allocations: 148 kB / 1.343 GB, free: 11.91 MB / 0.8698 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.0237/2.074, allocations: 5.25 MB / 1.348 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/2.074, allocations: 12.03 kB / 1.348 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004316/2.079, allocations: 0.8371 MB / 1.349 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/2.09, allocations: 1.14 MB / 1.35 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/2.104, allocations: 3.704 MB / 1.354 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/2.105, allocations: 427.6 kB / 1.354 GB, free: 420 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/2.107, allocations: 0.5507 MB / 1.355 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03237/2.14, allocations: 8.823 MB / 1.364 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/2.14, allocations: 15.88 kB / 1.364 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002269/2.142, allocations: 259.9 kB / 1.364 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/2.143, allocations: 299 kB / 1.364 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/2.166, allocations: 6.441 MB / 1.37 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07532/2.241, allocations: 41.46 MB / 1.411 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008558/2.25, allocations: 3.107 MB / 1.414 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/2.25, allocations: 25.94 kB / 1.414 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/2.25, allocations: 60.56 kB / 1.414 GB, free: 15.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=209): time 5.22e-06/2.25, allocations: 0 / 1.414 GB, free: 15.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=212): time 0.04488/2.295, allocations: 10.47 MB / 1.424 GB, free: 4.602 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/2.295, allocations: 77.34 kB / 1.424 GB, free: 4.512 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/2.299, allocations: 1.665 MB / 1.426 GB, free: 2.832 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005587/2.3, allocations: 69.7 kB / 1.426 GB, free: 2.758 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/2.302, allocations: 2.367 MB / 1.428 GB, free: 368 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.7007/3.003, allocations: 0.7262 MB / 1.429 GB, free: 227.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/3.004, allocations: 50.97 kB / 1.429 GB, free: 227.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002863/3.004, allocations: 412.3 kB / 1.429 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/3.008, allocations: 1.324 MB / 1.431 GB, free: 227.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/3.012, allocations: 2.096 MB / 1.433 GB, free: 226.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/3.016, allocations: 1.685 MB / 1.434 GB, free: 226.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/3.016, allocations: 5.062 kB / 1.434 GB, free: 226.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01373/3.03, allocations: 4.967 MB / 1.439 GB, free: 226.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/3.03, allocations: 15.19 kB / 1.439 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-05/3.03, allocations: 28.47 kB / 1.439 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006326/3.037, allocations: 1.544 MB / 1.441 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/3.04, allocations: 442 kB / 1.441 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03757/3.078, allocations: 17.67 MB / 1.459 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/3.082, allocations: 150.6 kB / 1.459 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000548/3.082, allocations: 107.4 kB / 1.459 GB, free: 221.1 MB / 0.948 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 () * Number of clocked 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,72.2%) 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.005569/3.088, allocations: 1.942 MB / 1.461 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009129/3.089, allocations: 289.4 kB / 1.461 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/3.102, allocations: 4.446 MB / 1.465 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/3.102, allocations: 20.62 kB / 1.465 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-05/3.102, allocations: 16.88 kB / 1.465 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/3.102, allocations: 12.05 kB / 1.465 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/3.133, allocations: 9.64 MB / 1.475 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/3.133, allocations: 4.188 kB / 1.475 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/3.135, allocations: 232.8 kB / 1.475 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005926/3.141, allocations: 1.398 MB / 1.476 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004431/3.141, allocations: 40.73 kB / 1.476 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03345/3.175, allocations: 17.71 MB / 1.494 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/3.175, allocations: 7.281 kB / 1.494 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/3.186, allocations: 4.864 MB / 1.498 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/3.189, allocations: 0.6305 MB / 1.499 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008761/3.19, allocations: 42.19 kB / 1.499 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/3.192, allocations: 115.7 kB / 1.499 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007737/3.193, allocations: 179 kB / 1.499 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/3.193, allocations: 60.84 kB / 1.499 GB, free: 213.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0026/3.196, allocations: 1.262 MB / 1.501 GB, free: 212.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.72e-07/3.196, allocations: 2.625 kB / 1.501 GB, free: 212.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006011/3.202, allocations: 1.178 MB / 1.502 GB, free: 212.5 MB / 0.948 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 () * Number of clocked 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.01293/3.215, allocations: 6.59 MB / 1.508 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01124/3.226, allocations: 4.61 MB / 1.513 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/3.226, allocations: 7.531 kB / 1.513 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007541/3.234, allocations: 2.911 MB / 1.516 GB, free: 205.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/3.24, allocations: 0.7699 MB / 1.516 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06758/3.308, allocations: 42.96 MB / 1.558 GB, free: 173.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008113/3.316, allocations: 3.787 MB / 1.562 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0035/3.32, allocations: 0.5447 MB / 1.563 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00424/3.324, allocations: 1.944 MB / 1.564 GB, free: 170.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.104e-06/3.324, allocations: 0 / 1.564 GB, free: 170.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/3.506, allocations: 81.17 MB / 1.644 GB, free: 143.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/3.506, allocations: 222.3 kB / 1.644 GB, free: 143.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.159/8.665, allocations: 64 / 1.644 GB, free: 143.5 MB / 0.948 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)