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_N.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_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001102/0.001102, allocations: 173 kB / 371.8 MB, free: 10.28 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.952/1.952, allocations: 205.4 MB / 0.6305 GB, free: 9.938 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.0008772/0.0008771, allocations: 95.59 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 12.06 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2688, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.193, allocations: 186 MB / 1.161 GB, free: 12.46 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004844/1.194, allocations: 94.75 kB / 1.161 GB, free: 12.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.704, allocations: 320.8 MB / 1.475 GB, free: 200.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.504e-06/2.704, allocations: 3.125 kB / 1.475 GB, free: 200.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001298/2.706, allocations: 170.4 kB / 1.475 GB, free: 200.7 MB / 0.948 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.03551/2.741, allocations: 6.143 MB / 1.481 GB, free: 198.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.964e-05/2.741, allocations: 9.625 kB / 1.481 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006393/2.748, allocations: 0.8983 MB / 1.482 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/2.765, allocations: 1.775 MB / 1.483 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/2.786, allocations: 5.047 MB / 1.488 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006702/2.787, allocations: 454.8 kB / 1.489 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004221/2.791, allocations: 0.5968 MB / 1.489 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03286/2.824, allocations: 9.986 MB / 1.499 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/2.824, allocations: 36.09 kB / 1.499 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002905/2.827, allocations: 273 kB / 1.499 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004793/2.828, allocations: 379.3 kB / 1.5 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/2.848, allocations: 7.838 MB / 1.507 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06767/2.916, allocations: 46.38 MB / 1.553 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/2.923, allocations: 4.192 MB / 1.557 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/2.924, allocations: 41.5 kB / 1.557 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/2.924, allocations: 66.97 kB / 1.557 GB, free: 168.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=353): time 6.322e-06/2.924, allocations: 0 / 1.557 GB, free: 168.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=578): time 0.4425/3.366, allocations: 106.4 MB / 1.661 GB, free: 124.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/3.366, allocations: 113.3 kB / 1.661 GB, free: 124.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/3.37, allocations: 2.145 MB / 1.663 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/3.371, allocations: 117.7 kB / 1.663 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/3.372, allocations: 2.696 MB / 1.666 GB, free: 119.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/3.375, allocations: 1.958 MB / 1.668 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/3.375, allocations: 112 kB / 1.668 GB, free: 118 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002943/3.376, allocations: 0.5322 MB / 1.668 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/3.38, allocations: 3.782 MB / 1.672 GB, free: 114.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00636/3.387, allocations: 4.909 MB / 1.677 GB, free: 109.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/3.393, allocations: 4.579 MB / 1.681 GB, free: 104.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/3.393, allocations: 10.06 kB / 1.681 GB, free: 104.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03646/3.43, allocations: 15.99 MB / 1.697 GB, free: 88.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/3.43, allocations: 24.02 kB / 1.697 GB, free: 88.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/3.43, allocations: 32 kB / 1.697 GB, free: 88.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02512/3.455, allocations: 7.752 MB / 1.704 GB, free: 80.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/3.458, allocations: 0.5596 MB / 1.705 GB, free: 80.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08751/3.545, allocations: 70.5 MB / 1.774 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/3.552, allocations: 239.9 kB / 1.774 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/3.553, allocations: 204 kB / 1.774 GB, free: 8.055 MB / 0.948 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 () * Number of clocked 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.006136/3.56, allocations: 2.44 MB / 1.777 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/3.561, allocations: 466.5 kB / 1.777 GB, free: 5.145 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03983/3.601, allocations: 15.91 MB / 1.793 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-05/3.601, allocations: 52 kB / 1.793 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002654/3.601, allocations: 72 kB / 1.793 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001429/3.601, allocations: 27.89 kB / 1.793 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6317/4.233, allocations: 23.98 MB / 1.816 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001011/4.233, allocations: 9.719 kB / 1.816 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/4.236, allocations: 323 kB / 1.816 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02404/4.26, allocations: 6.871 MB / 1.823 GB, free: 192.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/4.261, allocations: 108.8 kB / 1.823 GB, free: 192.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08432/4.345, allocations: 67.37 MB / 1.889 GB, free: 178.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/4.345, allocations: 11.44 kB / 1.889 GB, free: 178.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03948/4.385, allocations: 20.96 MB / 1.91 GB, free: 169.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/4.389, allocations: 1.254 MB / 1.911 GB, free: 168.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/4.391, allocations: 103.2 kB / 1.911 GB, free: 168.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004639/4.396, allocations: 235.2 kB / 1.911 GB, free: 168.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002502/4.398, allocations: 0.5322 MB / 1.912 GB, free: 168.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008397/4.399, allocations: 137.6 kB / 1.912 GB, free: 168.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002418/4.402, allocations: 1.617 MB / 1.913 GB, free: 167.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.2e-07/4.402, allocations: 3.438 kB / 1.913 GB, free: 167.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01013/4.412, allocations: 2.307 MB / 1.916 GB, free: 167.3 MB / 0.9636 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 () * Number of clocked 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.03966/4.452, allocations: 23.36 MB / 1.938 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02648/4.478, allocations: 13.82 MB / 1.952 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/4.478, allocations: 2.25 kB / 1.952 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01886/4.497, allocations: 9.055 MB / 1.961 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006459/4.504, allocations: 1.1 MB / 1.962 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/4.616, allocations: 74.35 MB / 2.034 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009842/4.626, allocations: 5.015 MB / 2.039 GB, free: 90.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003785/4.63, allocations: 0.7412 MB / 2.04 GB, free: 89.89 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/4.634, allocations: 2.59 MB / 2.043 GB, free: 87.49 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/4.634, allocations: 3.172 kB / 2.043 GB, free: 87.49 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7774/5.411, allocations: 175.7 MB / 2.214 GB, free: 197.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/5.412, allocations: 232 kB / 2.214 GB, free: 197.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/13.78, allocations: 0 / 2.214 GB, free: 197.1 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)