Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.905/1.905, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001248/0.001248, allocations: 180.9 kB / 361.4 MB, free: 6.801 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.752/1.752, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008789/0.000879, allocations: 86.19 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.465e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6902, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/0.9067, allocations: 163.7 MB / 1.124 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.9071, allocations: 93.34 kB / 1.124 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09573/1.003, allocations: 37.12 MB / 1.161 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/1.003, allocations: 0 / 1.161 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.808e-05/1.003, allocations: 20 kB / 1.161 GB, free: 2.629 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001816/1.005, allocations: 0.8645 MB / 1.161 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.005, allocations: 15.97 kB / 1.161 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.007, allocations: 219.8 kB / 1.162 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.008, allocations: 0.5464 MB / 1.162 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/1.008, allocations: 24 kB / 1.162 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/1.008, allocations: 36 kB / 1.162 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/1.009, allocations: 0.5421 MB / 1.163 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.01, allocations: 0.9873 MB / 1.164 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/1.011, allocations: 11.94 kB / 1.164 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/1.011, allocations: 4 kB / 1.164 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-05/1.011, allocations: 57.28 kB / 1.164 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005296/1.016, allocations: 5.645 MB / 1.169 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/1.017, allocations: 0.5748 MB / 1.17 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/1.018, allocations: 385.7 kB / 1.17 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/1.018, allocations: 4 kB / 1.17 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.018, allocations: 38.56 kB / 1.17 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 3.687e-06/1.018, allocations: 0 / 1.17 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.002551/1.02, allocations: 1.158 MB / 1.171 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.02, allocations: 59.41 kB / 1.172 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/1.021, allocations: 334.4 kB / 1.172 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.021, allocations: 25.7 kB / 1.172 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/1.021, allocations: 383 kB / 1.172 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.021, allocations: 145.9 kB / 1.172 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/1.021, allocations: 0 / 1.172 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.021, allocations: 358.8 kB / 1.173 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/1.022, allocations: 221 kB / 1.173 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/1.022, allocations: 408.4 kB / 1.173 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/1.023, allocations: 296.4 kB / 1.174 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.023, allocations: 7.938 kB / 1.174 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001724/1.024, allocations: 0.9289 MB / 1.175 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.024, allocations: 9.844 kB / 1.175 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.024, allocations: 8 kB / 1.175 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.026, allocations: 305.8 kB / 1.175 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/1.026, allocations: 95.81 kB / 1.175 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/1.033, allocations: 6.828 MB / 1.182 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/1.033, allocations: 19.97 kB / 1.182 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/1.034, allocations: 24.09 kB / 1.182 GB, free: 11.77 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/1.034, allocations: 120.9 kB / 1.182 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001508/1.035, allocations: 0.8003 MB / 1.183 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.035, allocations: 59.3 kB / 1.183 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.037, allocations: 0.8413 MB / 1.183 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.037, allocations: 11.98 kB / 1.183 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.037, allocations: 5.625 kB / 1.183 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.037, allocations: 0 / 1.183 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/1.04, allocations: 1.722 MB / 1.185 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.04, allocations: 4 kB / 1.185 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.04, allocations: 43.97 kB / 1.185 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/1.041, allocations: 271.3 kB / 1.185 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.041, allocations: 4 kB / 1.185 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/1.047, allocations: 6.554 MB / 1.192 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.048, allocations: 7.969 kB / 1.192 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.049, allocations: 0.9627 MB / 1.193 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.05, allocations: 172.5 kB / 1.193 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.05, allocations: 4 kB / 1.193 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/1.05, allocations: 15.97 kB / 1.193 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.05, allocations: 35.94 kB / 1.193 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.05, allocations: 12 kB / 1.193 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003198/1.051, allocations: 258.9 kB / 1.193 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.21e-07/1.051, allocations: 0 / 1.193 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009975/1.052, allocations: 175.9 kB / 1.193 GB, free: 14.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/1.054, allocations: 1.928 MB / 1.195 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.055, allocations: 1.087 MB / 1.196 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.055, allocations: 0 / 1.196 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.057, allocations: 0.7803 MB / 1.197 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.058, allocations: 161.7 kB / 1.197 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.06, allocations: 1.025 MB / 1.198 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.061, allocations: 1.004 MB / 1.199 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003489/1.061, allocations: 96.67 kB / 1.199 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.061, allocations: 227.3 kB / 1.2 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of SimCode: time 1.874e-06/1.061, allocations: 0 / 1.2 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/1.098, allocations: 12.89 MB / 1.212 GB, free: 11.75 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.098, allocations: 170.5 kB / 1.212 GB, free: 11.56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.39, allocations: 0 / 1.212 GB, free: 11.56 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)