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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.592/1.592, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001012/0.001012, allocations: 176.9 kB / 321.3 MB, free: 14.67 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.537/1.537, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001089/0.001089, allocations: 87.41 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.544e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/1.014, allocations: 179.6 MB / 1.067 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.015, allocations: 102.4 kB / 1.067 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/2.432, allocations: 319.1 MB / 1.379 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.789e-06/2.432, allocations: 4 kB / 1.379 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009423/2.433, allocations: 174.6 kB / 1.379 GB, free: 200.7 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.02337/2.457, allocations: 5.505 MB / 1.385 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/2.457, allocations: 10.94 kB / 1.385 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005723/2.462, allocations: 0.8854 MB / 1.385 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/2.477, allocations: 1.759 MB / 1.387 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/2.494, allocations: 5.038 MB / 1.392 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006283/2.495, allocations: 453.2 kB / 1.393 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003799/2.499, allocations: 0.5924 MB / 1.393 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03259/2.531, allocations: 9.874 MB / 1.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005173/2.532, allocations: 35.06 kB / 1.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003835/2.536, allocations: 277.4 kB / 1.403 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005806/2.536, allocations: 376.2 kB / 1.403 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/2.558, allocations: 7.698 MB / 1.411 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07399/2.632, allocations: 46.38 MB / 1.456 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/2.638, allocations: 4.14 MB / 1.46 GB, free: 133 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005926/2.644, allocations: 3.563 MB / 1.464 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/2.645, allocations: 38.78 kB / 1.464 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/2.645, allocations: 73.28 kB / 1.464 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 6.382e-06/2.645, allocations: 0 / 1.464 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.4309/3.076, allocations: 98.53 MB / 1.56 GB, free: 30.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/3.076, allocations: 111.9 kB / 1.56 GB, free: 30.24 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/3.081, allocations: 2.12 MB / 1.562 GB, free: 28.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001737/3.083, allocations: 121.7 kB / 1.562 GB, free: 28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/3.085, allocations: 2.698 MB / 1.565 GB, free: 25.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003896/3.089, allocations: 1.952 MB / 1.567 GB, free: 23.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001838/3.09, allocations: 112 kB / 1.567 GB, free: 23.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0006739/3.091, allocations: 0.5298 MB / 1.568 GB, free: 22.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006871/3.098, allocations: 3.721 MB / 1.571 GB, free: 18.97 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007811/3.106, allocations: 4.845 MB / 1.576 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007912/3.114, allocations: 4.54 MB / 1.58 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/3.114, allocations: 8 kB / 1.58 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.7598/3.874, allocations: 15.86 MB / 1.596 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/3.874, allocations: 19.59 kB / 1.596 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/3.874, allocations: 33.5 kB / 1.596 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02987/3.904, allocations: 7.698 MB / 1.603 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/3.907, allocations: 0.556 MB / 1.604 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09668/4.004, allocations: 67.27 MB / 1.67 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006778/4.01, allocations: 241.1 kB / 1.67 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/4.012, allocations: 202 kB / 1.67 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.001265/4.013, allocations: 398.2 kB / 1.67 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/4.015, allocations: 468.4 kB / 1.671 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03364/4.049, allocations: 15.8 MB / 1.686 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/4.049, allocations: 51.59 kB / 1.686 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001648/4.049, allocations: 71.53 kB / 1.686 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00013/4.049, allocations: 32.95 kB / 1.686 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05099/4.1, allocations: 23.89 MB / 1.71 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-05/4.1, allocations: 6.344 kB / 1.71 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/4.102, allocations: 322.4 kB / 1.71 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02097/4.123, allocations: 6.84 MB / 1.717 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001338/4.124, allocations: 104.7 kB / 1.717 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07882/4.203, allocations: 64.12 MB / 1.779 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/4.203, allocations: 8 kB / 1.779 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03899/4.242, allocations: 20.8 MB / 1.8 GB, free: 87.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004455/4.247, allocations: 1.255 MB / 1.801 GB, free: 86.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/4.249, allocations: 112 kB / 1.801 GB, free: 85.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004316/4.253, allocations: 236.9 kB / 1.801 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00247/4.255, allocations: 0.5182 MB / 1.802 GB, free: 85.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000459/4.256, allocations: 136 kB / 1.802 GB, free: 85.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002946/4.259, allocations: 1.594 MB / 1.804 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/4.259, allocations: 0 / 1.804 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01403/4.273, allocations: 2.316 MB / 1.806 GB, free: 81.52 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.04227/4.315, allocations: 23.21 MB / 1.828 GB, free: 60.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02509/4.34, allocations: 13.57 MB / 1.842 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/4.34, allocations: 0 / 1.842 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0196/4.36, allocations: 8.882 MB / 1.85 GB, free: 40.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007881/4.368, allocations: 1.105 MB / 1.851 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/4.416, allocations: 14.91 MB / 1.866 GB, free: 26.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008829/4.425, allocations: 5.007 MB / 1.871 GB, free: 22.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00339/4.428, allocations: 0.7481 MB / 1.872 GB, free: 22.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00305/4.431, allocations: 2.591 MB / 1.874 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/4.431, allocations: 0 / 1.874 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9931/5.424, allocations: 176.4 MB / 2.046 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/5.425, allocations: 204.5 kB / 2.047 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/12.42, allocations: 7.719 kB / 2.047 GB, free: 174.5 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)