Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 285.4 MB / 298 MB, free: 5.973 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.001076/0.001076, allocations: 184.8 kB / 366.4 MB, free: 2.059 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.673/1.673, allocations: 205.1 MB / 0.6248 GB, free: 7.695 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.0008458/0.0008458, allocations: 91.61 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.917e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7564, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/1.016, allocations: 184.9 MB / 1.152 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.016, allocations: 95.94 kB / 1.152 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/2.274, allocations: 267.4 MB / 1.413 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.314e-06/2.274, allocations: 0 / 1.413 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004935/2.275, allocations: 148 kB / 1.413 GB, free: 131 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01772/2.293, allocations: 4.631 MB / 1.417 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/2.293, allocations: 12.03 kB / 1.417 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003709/2.296, allocations: 0.7449 MB / 1.418 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/2.309, allocations: 1.487 MB / 1.42 GB, free: 124 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/2.323, allocations: 4.207 MB / 1.424 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/2.323, allocations: 378.1 kB / 1.424 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/2.326, allocations: 0.4959 MB / 1.425 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/2.351, allocations: 8.28 MB / 1.433 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003523/2.352, allocations: 27.7 kB / 1.433 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002893/2.355, allocations: 231.9 kB / 1.433 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004855/2.355, allocations: 330 kB / 1.433 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/2.371, allocations: 6.325 MB / 1.439 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05759/2.429, allocations: 40 MB / 1.479 GB, free: 59.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/2.433, allocations: 2.802 MB / 1.481 GB, free: 57.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/2.437, allocations: 2.542 MB / 1.484 GB, free: 54.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/2.438, allocations: 26.09 kB / 1.484 GB, free: 54.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/2.438, allocations: 68.64 kB / 1.484 GB, free: 54.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.631e-06/2.438, allocations: 3.984 kB / 1.484 GB, free: 54.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.2568/2.695, allocations: 60.08 MB / 1.543 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/2.695, allocations: 94.73 kB / 1.543 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004917/2.7, allocations: 1.901 MB / 1.544 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/2.701, allocations: 101.7 kB / 1.545 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002256/2.703, allocations: 2.337 MB / 1.547 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002834/2.706, allocations: 1.436 MB / 1.548 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/2.707, allocations: 84 kB / 1.548 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004956/2.708, allocations: 487.4 kB / 1.549 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005507/2.713, allocations: 2.726 MB / 1.551 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/2.72, allocations: 3.696 MB / 1.555 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/2.726, allocations: 3.334 MB / 1.558 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/2.726, allocations: 8 kB / 1.558 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02935/2.756, allocations: 11.69 MB / 1.57 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/2.756, allocations: 16 kB / 1.57 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/2.756, allocations: 28 kB / 1.57 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01808/2.774, allocations: 4.986 MB / 1.575 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/2.776, allocations: 0.5031 MB / 1.575 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8526/3.629, allocations: 64.68 MB / 1.638 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005554/3.635, allocations: 184.6 kB / 1.638 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/3.636, allocations: 161.6 kB / 1.639 GB, free: 200.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001071/3.637, allocations: 348.1 kB / 1.639 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/3.639, allocations: 389.1 kB / 1.639 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02882/3.667, allocations: 11.46 MB / 1.651 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/3.668, allocations: 46.3 kB / 1.651 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002141/3.668, allocations: 49.33 kB / 1.651 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001407/3.668, allocations: 23.98 kB / 1.651 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/3.718, allocations: 17.82 MB / 1.668 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.545e-05/3.718, allocations: 7.859 kB / 1.668 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/3.72, allocations: 287.6 kB / 1.668 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/3.737, allocations: 4.499 MB / 1.673 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/3.739, allocations: 82.22 kB / 1.673 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0733/3.812, allocations: 62.24 MB / 1.734 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/3.812, allocations: 13.56 kB / 1.734 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/3.843, allocations: 15.17 MB / 1.748 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/3.847, allocations: 0.9762 MB / 1.749 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/3.848, allocations: 82.41 kB / 1.749 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/3.852, allocations: 175.5 kB / 1.75 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001941/3.854, allocations: 406.9 kB / 1.75 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/3.854, allocations: 105.1 kB / 1.75 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002508/3.857, allocations: 1.432 MB / 1.751 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/3.857, allocations: 0.5625 kB / 1.751 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008765/3.865, allocations: 1.753 MB / 1.753 GB, free: 150.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02875/3.894, allocations: 17.61 MB / 1.77 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02078/3.915, allocations: 11.45 MB / 1.782 GB, free: 135 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/3.915, allocations: 0 / 1.782 GB, free: 135 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01497/3.93, allocations: 7.946 MB / 1.789 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/3.938, allocations: 0.9714 MB / 1.79 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/3.974, allocations: 11.54 MB / 1.802 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006995/3.981, allocations: 4.181 MB / 1.806 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00329/3.984, allocations: 0.6768 MB / 1.806 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/3.987, allocations: 2.144 MB / 1.808 GB, free: 118 MB / 0.9323 GB Notification: Performance of SimCode: time 2.995e-06/3.987, allocations: 0 / 1.808 GB, free: 118 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2225/4.209, allocations: 136.8 MB / 1.942 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/4.21, allocations: 210.4 kB / 1.942 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/10.63, allocations: 0 / 1.942 GB, free: 1.172 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)