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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.002191/0.002191, allocations: 180.5 kB / 370.8 MB, free: 10.88 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001178/0.001178, allocations: 97.95 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007732/0.0007731, allocations: 16.8 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2364, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9561/1.193, allocations: 170.7 MB / 1.145 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.193, allocations: 93.84 kB / 1.145 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7637/1.957, allocations: 182.4 MB / 1.323 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.743e-06/1.957, allocations: 3.984 kB / 1.323 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005002/1.957, allocations: 131.9 kB / 1.323 GB, free: 0.7539 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02022/1.978, allocations: 4.499 MB / 1.328 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/1.978, allocations: 8.031 kB / 1.328 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003773/1.981, allocations: 0.7177 MB / 1.328 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.992, allocations: 1.012 MB / 1.329 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/2.004, allocations: 3.225 MB / 1.333 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006413/2.005, allocations: 361.7 kB / 1.333 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/2.007, allocations: 472 kB / 1.333 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/2.035, allocations: 7.503 MB / 1.341 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002924/2.035, allocations: 27.72 kB / 1.341 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/2.037, allocations: 212 kB / 1.341 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005354/2.038, allocations: 269.1 kB / 1.341 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/2.057, allocations: 5.399 MB / 1.346 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06736/2.124, allocations: 36.26 MB / 1.382 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006474/2.131, allocations: 2.132 MB / 1.384 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/2.131, allocations: 13.31 kB / 1.384 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/2.131, allocations: 63.75 kB / 1.384 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 4.779e-06/2.131, allocations: 0 / 1.384 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.02515/2.157, allocations: 7.534 MB / 1.391 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/2.157, allocations: 68.72 kB / 1.391 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/2.16, allocations: 1.56 MB / 1.393 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004362/2.161, allocations: 53.7 kB / 1.393 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002233/2.163, allocations: 2.096 MB / 1.395 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/2.164, allocations: 0.5623 MB / 1.396 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/2.164, allocations: 48 kB / 1.396 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002546/2.165, allocations: 386.1 kB / 1.396 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/2.168, allocations: 1.019 MB / 1.397 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003537/2.171, allocations: 1.724 MB / 1.399 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003608/2.175, allocations: 1.302 MB / 1.4 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/2.175, allocations: 8 kB / 1.4 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01255/2.187, allocations: 3.796 MB / 1.404 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/2.188, allocations: 18.34 kB / 1.404 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-05/2.188, allocations: 32.14 kB / 1.404 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006686/2.194, allocations: 0.9155 MB / 1.405 GB, free: 8.828 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/2.2, allocations: 415.3 kB / 1.405 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/2.234, allocations: 21.4 MB / 1.426 GB, free: 1.426 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/2.237, allocations: 119.8 kB / 1.426 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/2.238, allocations: 92 kB / 1.426 GB, free: 1.219 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.7011/2.939, allocations: 1.643 MB / 1.428 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009226/2.94, allocations: 254.2 kB / 1.428 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009998/2.95, allocations: 3.26 MB / 1.431 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-05/2.95, allocations: 15.41 kB / 1.431 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.149e-05/2.95, allocations: 10 kB / 1.431 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/2.95, allocations: 6.469 kB / 1.431 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02221/2.972, allocations: 7.504 MB / 1.439 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/2.973, allocations: 3.75 kB / 1.439 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/2.975, allocations: 226.1 kB / 1.439 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/2.979, allocations: 0.8808 MB / 1.44 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000446/2.979, allocations: 32.5 kB / 1.44 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02984/3.009, allocations: 21.37 MB / 1.46 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/3.009, allocations: 5.094 kB / 1.46 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/3.02, allocations: 3.696 MB / 1.464 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/3.022, allocations: 0.5281 MB / 1.465 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007061/3.023, allocations: 33.77 kB / 1.465 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/3.025, allocations: 97.75 kB / 1.465 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/3.025, allocations: 134.8 kB / 1.465 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/3.026, allocations: 48.69 kB / 1.465 GB, free: 218.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002831/3.028, allocations: 1.187 MB / 1.466 GB, free: 218 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.02e-07/3.028, allocations: 0 / 1.466 GB, free: 218 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005457/3.034, allocations: 0.9383 MB / 1.467 GB, free: 218 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/3.045, allocations: 5.421 MB / 1.472 GB, free: 215.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01092/3.056, allocations: 4.339 MB / 1.477 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/3.056, allocations: 6.969 kB / 1.477 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007213/3.064, allocations: 2.986 MB / 1.479 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/3.07, allocations: 0.718 MB / 1.48 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06108/3.131, allocations: 37.36 MB / 1.517 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006744/3.137, allocations: 3.293 MB / 1.52 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003455/3.141, allocations: 0.5146 MB / 1.52 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003645/3.145, allocations: 1.68 MB / 1.522 GB, free: 187.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/3.145, allocations: 0 / 1.522 GB, free: 187.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/3.303, allocations: 67.87 MB / 1.588 GB, free: 184.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/3.303, allocations: 223.3 kB / 1.588 GB, free: 184.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.562/7.865, allocations: 0 / 1.588 GB, free: 184.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)