Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 248.5 MB / 261.1 MB, free: 5.984 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.001525/0.001525, allocations: 179.3 kB / 320.4 MB, free: 15.34 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.948/1.948, allocations: 205.2 MB / 0.5711 GB, free: 11.8 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.001717/0.001717, allocations: 94.48 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.255e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.197, allocations: 179.5 MB / 1.066 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.197, allocations: 96.98 kB / 1.066 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.931/3.128, allocations: 319.1 MB / 1.378 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.285e-06/3.128, allocations: 0 / 1.378 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006747/3.129, allocations: 175.2 kB / 1.378 GB, free: 201.5 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02687/3.156, allocations: 5.513 MB / 1.383 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/3.156, allocations: 15.09 kB / 1.383 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00512/3.161, allocations: 0.8867 MB / 1.384 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/3.183, allocations: 1.766 MB / 1.386 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/3.205, allocations: 5.032 MB / 1.391 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/3.206, allocations: 450.5 kB / 1.391 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/3.21, allocations: 0.5954 MB / 1.392 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03631/3.247, allocations: 9.869 MB / 1.401 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004792/3.247, allocations: 41.55 kB / 1.401 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/3.25, allocations: 265.5 kB / 1.402 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000683/3.251, allocations: 376.3 kB / 1.402 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02571/3.277, allocations: 7.699 MB / 1.41 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08651/3.363, allocations: 46.37 MB / 1.455 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00896/3.373, allocations: 4.142 MB / 1.459 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008239/3.381, allocations: 3.562 MB / 1.462 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/3.382, allocations: 41.05 kB / 1.462 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/3.382, allocations: 65.34 kB / 1.462 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 7.544e-06/3.382, allocations: 0 / 1.462 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.8262/4.208, allocations: 98.55 MB / 1.559 GB, free: 32.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/4.208, allocations: 107.9 kB / 1.559 GB, free: 32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008087/4.216, allocations: 2.124 MB / 1.561 GB, free: 29.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002157/4.218, allocations: 117.7 kB / 1.561 GB, free: 29.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003685/4.222, allocations: 2.698 MB / 1.564 GB, free: 27.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004894/4.227, allocations: 1.955 MB / 1.566 GB, free: 25.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002206/4.229, allocations: 112 kB / 1.566 GB, free: 24.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0008601/4.23, allocations: 0.5298 MB / 1.566 GB, free: 24.46 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01492/4.245, allocations: 3.721 MB / 1.57 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01663/4.262, allocations: 4.837 MB / 1.575 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01742/4.28, allocations: 4.54 MB / 1.579 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/4.28, allocations: 11.94 kB / 1.579 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.7509/5.031, allocations: 15.87 MB / 1.594 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/5.031, allocations: 22.2 kB / 1.594 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/5.031, allocations: 33.19 kB / 1.595 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04792/5.079, allocations: 7.7 MB / 1.602 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/5.084, allocations: 0.5561 MB / 1.603 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/5.286, allocations: 67.28 MB / 1.668 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/5.298, allocations: 241.3 kB / 1.669 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/5.3, allocations: 200.6 kB / 1.669 GB, free: 163.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004263/5.304, allocations: 391.7 kB / 1.669 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003332/5.308, allocations: 470.8 kB / 1.67 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08575/5.394, allocations: 15.8 MB / 1.685 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/5.394, allocations: 54.47 kB / 1.685 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001669/5.394, allocations: 72.06 kB / 1.685 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001314/5.394, allocations: 25.36 kB / 1.685 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1285/5.523, allocations: 23.88 MB / 1.708 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001155/5.523, allocations: 7.062 kB / 1.708 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005465/5.528, allocations: 328.1 kB / 1.709 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0497/5.578, allocations: 6.829 MB / 1.715 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001697/5.58, allocations: 108 kB / 1.716 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1515/5.731, allocations: 64.12 MB / 1.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/5.731, allocations: 11.94 kB / 1.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06915/5.8, allocations: 20.81 MB / 1.798 GB, free: 88.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0054/5.806, allocations: 1.251 MB / 1.8 GB, free: 87.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002542/5.809, allocations: 111.3 kB / 1.8 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007195/5.816, allocations: 233.4 kB / 1.8 GB, free: 87.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00346/5.819, allocations: 0.5213 MB / 1.801 GB, free: 86.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001431/5.821, allocations: 144 kB / 1.801 GB, free: 86.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003705/5.825, allocations: 1.591 MB / 1.802 GB, free: 85.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.022e-06/5.825, allocations: 0 / 1.802 GB, free: 85.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01224/5.837, allocations: 2.317 MB / 1.804 GB, free: 83.08 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06918/5.906, allocations: 23.2 MB / 1.827 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0406/5.947, allocations: 13.57 MB / 1.84 GB, free: 50.03 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/5.947, allocations: 0 / 1.84 GB, free: 50.03 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02761/5.974, allocations: 8.878 MB / 1.849 GB, free: 42.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009067/5.984, allocations: 1.116 MB / 1.85 GB, free: 41.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04426/6.028, allocations: 14.9 MB / 1.865 GB, free: 28.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/6.039, allocations: 5.013 MB / 1.87 GB, free: 24.31 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00475/6.044, allocations: 0.7478 MB / 1.87 GB, free: 23.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005411/6.049, allocations: 2.597 MB / 1.873 GB, free: 21.39 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/6.049, allocations: 0 / 1.873 GB, free: 21.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/7.159, allocations: 176.4 MB / 2.045 GB, free: 174 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/7.159, allocations: 201.3 kB / 2.045 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/15.8, allocations: 4 kB / 2.045 GB, free: 173.7 MB / 0.9011 GB