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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.834/1.834, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001161/0.001161, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.612/1.612, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008513/0.0008513, allocations: 96 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.258e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.703, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.9133, allocations: 170.2 MB / 1.131 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.9136, allocations: 94.98 kB / 1.131 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.969/1.883, allocations: 178.9 MB / 1.305 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.785e-06/1.883, allocations: 0 / 1.305 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005119/1.883, allocations: 119.2 kB / 1.306 GB, free: 185.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02284/1.906, allocations: 3.82 MB / 1.309 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/1.906, allocations: 10.03 kB / 1.309 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/1.92, allocations: 0.9365 MB / 1.31 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.935, allocations: 2.993 MB / 1.313 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005569/1.935, allocations: 150.2 kB / 1.313 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00342/1.939, allocations: 277 kB / 1.314 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01983/1.958, allocations: 4.531 MB / 1.318 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02773/1.986, allocations: 6.546 MB / 1.324 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/1.987, allocations: 28.03 kB / 1.324 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/1.988, allocations: 11.59 kB / 1.324 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004865/1.989, allocations: 276.5 kB / 1.325 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/2.028, allocations: 34.09 MB / 1.358 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/2.03, allocations: 2.08 MB / 1.36 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/2.032, allocations: 1.206 MB / 1.361 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/2.032, allocations: 15.91 kB / 1.361 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/2.032, allocations: 50.69 kB / 1.361 GB, free: 151 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.729e-06/2.032, allocations: 0 / 1.361 GB, free: 151 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.00812/2.04, allocations: 4.377 MB / 1.366 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/2.04, allocations: 66.31 kB / 1.366 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/2.042, allocations: 1.062 MB / 1.367 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/2.042, allocations: 25.7 kB / 1.367 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009491/2.043, allocations: 1.991 MB / 1.369 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/2.043, allocations: 471.7 kB / 1.369 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/2.043, allocations: 0 / 1.369 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.043, allocations: 376.8 kB / 1.369 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009756/2.044, allocations: 0.849 MB / 1.37 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/2.046, allocations: 1.487 MB / 1.372 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/2.047, allocations: 1.116 MB / 1.373 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/2.047, allocations: 7.062 kB / 1.373 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005408/2.053, allocations: 3.209 MB / 1.376 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/2.053, allocations: 18.34 kB / 1.376 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/2.053, allocations: 21.59 kB / 1.376 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/2.055, allocations: 0.8839 MB / 1.377 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/2.056, allocations: 345.8 kB / 1.377 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/2.071, allocations: 20.36 MB / 1.397 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/2.073, allocations: 63.81 kB / 1.397 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/2.073, allocations: 86.75 kB / 1.397 GB, free: 125.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003548/2.074, allocations: 169.1 kB / 1.397 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004227/2.078, allocations: 2.673 MB / 1.4 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/2.078, allocations: 190.4 kB / 1.4 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/2.083, allocations: 2.813 MB / 1.403 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/2.083, allocations: 11.06 kB / 1.403 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/2.083, allocations: 10.94 kB / 1.403 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/2.083, allocations: 10.12 kB / 1.403 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/2.094, allocations: 6.38 MB / 1.409 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/2.094, allocations: 7.234 kB / 1.409 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/2.095, allocations: 178.6 kB / 1.409 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/2.097, allocations: 0.8082 MB / 1.41 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/2.097, allocations: 3.625 kB / 1.41 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/2.112, allocations: 19.45 MB / 1.429 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/2.112, allocations: 11.5 kB / 1.429 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/2.117, allocations: 3.153 MB / 1.432 GB, free: 99.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/2.118, allocations: 447.4 kB / 1.433 GB, free: 99.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/2.118, allocations: 4 kB / 1.433 GB, free: 99.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/2.119, allocations: 51.48 kB / 1.433 GB, free: 99.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/2.12, allocations: 129.4 kB / 1.433 GB, free: 99.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/2.12, allocations: 36 kB / 1.433 GB, free: 99.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00105/2.121, allocations: 0.7794 MB / 1.434 GB, free: 98.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/2.121, allocations: 0 / 1.434 GB, free: 98.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003825/2.125, allocations: 0.7422 MB / 1.434 GB, free: 97.79 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005059/2.13, allocations: 4.901 MB / 1.439 GB, free: 93.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00599/2.136, allocations: 3.727 MB / 1.443 GB, free: 89.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/2.136, allocations: 0 / 1.443 GB, free: 89.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/2.139, allocations: 2.571 MB / 1.445 GB, free: 87.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/2.142, allocations: 0.5965 MB / 1.446 GB, free: 86.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/2.157, allocations: 6.66 MB / 1.452 GB, free: 80.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/2.161, allocations: 3.186 MB / 1.455 GB, free: 77.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001701/2.162, allocations: 448.4 kB / 1.456 GB, free: 77.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/2.164, allocations: 1.55 MB / 1.457 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of SimCode: time 1.452e-06/2.164, allocations: 3.719 kB / 1.457 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/2.284, allocations: 56.57 MB / 1.513 GB, free: 20.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/2.284, allocations: 173.3 kB / 1.513 GB, free: 19.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/5.47, allocations: 0 / 1.513 GB, free: 19.91 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)