Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 174.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009406/0.0009411, allocations: 90.52 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.803e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8338/1.059, allocations: 178.6 MB / 1.066 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.059, allocations: 93.88 kB / 1.066 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.297/2.356, allocations: 267.4 MB / 1.328 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.236e-06/2.356, allocations: 6.266 kB / 1.328 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000784/2.357, allocations: 146.9 kB / 1.328 GB, free: 205.6 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0201/2.377, allocations: 4.634 MB / 1.332 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/2.377, allocations: 15.09 kB / 1.332 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004716/2.382, allocations: 0.7372 MB / 1.333 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/2.395, allocations: 1.487 MB / 1.334 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/2.411, allocations: 4.213 MB / 1.339 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006923/2.412, allocations: 376.3 kB / 1.339 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003719/2.416, allocations: 0.4995 MB / 1.339 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/2.446, allocations: 8.282 MB / 1.347 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004659/2.447, allocations: 33.3 kB / 1.347 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003183/2.45, allocations: 227.2 kB / 1.348 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000537/2.451, allocations: 326 kB / 1.348 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/2.468, allocations: 6.332 MB / 1.354 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/2.531, allocations: 40 MB / 1.393 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/2.536, allocations: 2.779 MB / 1.396 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/2.54, allocations: 2.553 MB / 1.398 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/2.54, allocations: 26.88 kB / 1.398 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/2.54, allocations: 58.41 kB / 1.399 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 8.817e-06/2.54, allocations: 0 / 1.399 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.2433/2.784, allocations: 60.08 MB / 1.457 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/2.784, allocations: 98.72 kB / 1.457 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/2.787, allocations: 1.908 MB / 1.459 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.788, allocations: 93.7 kB / 1.459 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/2.79, allocations: 2.338 MB / 1.462 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/2.791, allocations: 1.439 MB / 1.463 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006945/2.792, allocations: 88 kB / 1.463 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002487/2.792, allocations: 487.4 kB / 1.464 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/2.796, allocations: 2.73 MB / 1.466 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/2.8, allocations: 3.696 MB / 1.47 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/2.805, allocations: 3.33 MB / 1.473 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/2.805, allocations: 8 kB / 1.473 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02544/2.83, allocations: 11.68 MB / 1.484 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.994e-05/2.831, allocations: 19.94 kB / 1.484 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-05/2.831, allocations: 32.09 kB / 1.484 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01748/2.848, allocations: 5 MB / 1.489 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/2.851, allocations: 0.5031 MB / 1.49 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06737/2.918, allocations: 64.69 MB / 1.553 GB, free: 32.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00541/2.924, allocations: 187.8 kB / 1.553 GB, free: 32.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/2.925, allocations: 160 kB / 1.553 GB, free: 32.37 MB / 0.8698 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.001122/2.926, allocations: 344.2 kB / 1.554 GB, free: 32.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/2.927, allocations: 387.4 kB / 1.554 GB, free: 31.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02399/2.951, allocations: 11.46 MB / 1.565 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/2.951, allocations: 44 kB / 1.565 GB, free: 20.03 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001673/2.952, allocations: 48 kB / 1.565 GB, free: 19.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/2.952, allocations: 19.92 kB / 1.565 GB, free: 19.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/2.989, allocations: 17.83 MB / 1.583 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.266e-05/2.989, allocations: 11.98 kB / 1.583 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/2.991, allocations: 294 kB / 1.583 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/3.007, allocations: 4.49 MB / 1.587 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009389/3.008, allocations: 80 kB / 1.588 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.773/3.781, allocations: 62.22 MB / 1.648 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/3.781, allocations: 14.64 kB / 1.648 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03918/3.821, allocations: 15.17 MB / 1.663 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003657/3.824, allocations: 0.9714 MB / 1.664 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002052/3.826, allocations: 80.48 kB / 1.664 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004304/3.831, allocations: 178.7 kB / 1.664 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002616/3.833, allocations: 399.6 kB / 1.665 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000952/3.834, allocations: 103 kB / 1.665 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003526/3.838, allocations: 1.438 MB / 1.666 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.8e-07/3.838, allocations: 2.062 kB / 1.666 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01246/3.85, allocations: 1.759 MB / 1.668 GB, free: 171.6 MB / 0.8855 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.03477/3.885, allocations: 17.61 MB / 1.685 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02251/3.908, allocations: 11.45 MB / 1.696 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/3.908, allocations: 3.188 kB / 1.696 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01611/3.924, allocations: 7.948 MB / 1.704 GB, free: 157 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008204/3.932, allocations: 0.9749 MB / 1.705 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03505/3.967, allocations: 11.53 MB / 1.716 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008777/3.976, allocations: 4.194 MB / 1.72 GB, free: 151 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0037/3.98, allocations: 0.671 MB / 1.721 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003668/3.984, allocations: 2.137 MB / 1.723 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.044e-06/3.984, allocations: 0 / 1.723 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/4.216, allocations: 136.8 MB / 1.857 GB, free: 67.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/4.216, allocations: 210 kB / 1.857 GB, free: 67.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.963/10.18, allocations: 0 / 1.857 GB, free: 67.25 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)