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.76/1.76, allocations: 285.4 MB / 298 MB, free: 5.977 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.00104/0.00104, allocations: 172.9 kB / 366.4 MB, free: 2.078 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.712/1.712, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.000963/0.0009629, allocations: 93.88 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.638e-05/4.651e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7719, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/1.007, allocations: 170.8 MB / 1.138 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.007, allocations: 93.67 kB / 1.138 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.165/2.172, allocations: 179.6 MB / 1.313 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.314e-06/2.172, allocations: 1.406 kB / 1.313 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005037/2.172, allocations: 117 kB / 1.313 GB, free: 186.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.022/2.194, allocations: 3.828 MB / 1.317 GB, free: 185 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.261e-05/2.194, allocations: 7.812 kB / 1.317 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004268/2.199, allocations: 0.6818 MB / 1.318 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/2.211, allocations: 0.9413 MB / 1.319 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/2.223, allocations: 2.989 MB / 1.322 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/2.224, allocations: 350.6 kB / 1.322 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003123/2.227, allocations: 463.4 kB / 1.323 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02783/2.255, allocations: 7.228 MB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002185/2.255, allocations: 31.08 kB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008612/2.256, allocations: 210.8 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/2.256, allocations: 277.7 kB / 1.33 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/2.266, allocations: 5.082 MB / 1.335 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/2.302, allocations: 35.08 MB / 1.369 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/2.305, allocations: 2.136 MB / 1.371 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/2.306, allocations: 1.254 MB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/2.306, allocations: 19.95 kB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/2.306, allocations: 42.78 kB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 3.566e-06/2.306, allocations: 3.969 kB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.008343/2.315, allocations: 4.551 MB / 1.377 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/2.315, allocations: 63.12 kB / 1.377 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/2.317, allocations: 1.255 MB / 1.378 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/2.317, allocations: 47.2 kB / 1.378 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/2.318, allocations: 1.984 MB / 1.38 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/2.319, allocations: 485.3 kB / 1.381 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/2.319, allocations: 39.19 kB / 1.381 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001086/2.319, allocations: 375.9 kB / 1.381 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/2.32, allocations: 0.8883 MB / 1.382 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/2.321, allocations: 1.533 MB / 1.384 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/2.323, allocations: 1.169 MB / 1.385 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/2.323, allocations: 6.344 kB / 1.385 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005472/2.328, allocations: 3.451 MB / 1.388 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/2.328, allocations: 13.53 kB / 1.388 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/2.328, allocations: 22.19 kB / 1.388 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/2.331, allocations: 0.8956 MB / 1.389 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/2.332, allocations: 345.3 kB / 1.389 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/2.348, allocations: 21.18 MB / 1.41 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/2.35, allocations: 97.23 kB / 1.41 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/2.351, allocations: 89.66 kB / 1.41 GB, free: 121.9 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.0005794/2.351, allocations: 223 kB / 1.41 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/2.352, allocations: 203.8 kB / 1.411 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/2.357, allocations: 2.952 MB / 1.414 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/2.357, allocations: 11.28 kB / 1.414 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-05/2.357, allocations: 10.38 kB / 1.414 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/2.358, allocations: 7.406 kB / 1.414 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/2.374, allocations: 7.252 MB / 1.421 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/2.374, allocations: 8 kB / 1.421 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/2.374, allocations: 171.2 kB / 1.421 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/2.377, allocations: 0.8249 MB / 1.422 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/2.377, allocations: 35.94 kB / 1.422 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/2.391, allocations: 20.24 MB / 1.441 GB, free: 92.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.391, allocations: 8 kB / 1.441 GB, free: 92.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/2.396, allocations: 3.28 MB / 1.445 GB, free: 89.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/2.398, allocations: 454.5 kB / 1.445 GB, free: 88.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/2.399, allocations: 35.42 kB / 1.445 GB, free: 88.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/2.4, allocations: 67.92 kB / 1.445 GB, free: 88.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/2.4, allocations: 128.7 kB / 1.445 GB, free: 88.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/2.4, allocations: 39.94 kB / 1.445 GB, free: 88.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001605/2.402, allocations: 0.9408 MB / 1.446 GB, free: 87.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.402, allocations: 0 / 1.446 GB, free: 87.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004275/2.406, allocations: 0.8242 MB / 1.447 GB, free: 86.59 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.005214/2.412, allocations: 5.015 MB / 1.452 GB, free: 81.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005328/2.417, allocations: 3.924 MB / 1.456 GB, free: 77.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/2.417, allocations: 0 / 1.456 GB, free: 77.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00339/2.42, allocations: 2.695 MB / 1.458 GB, free: 74.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/2.424, allocations: 0.6386 MB / 1.459 GB, free: 73.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/2.446, allocations: 6.785 MB / 1.466 GB, free: 66.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/2.451, allocations: 3.189 MB / 1.469 GB, free: 63.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002168/2.454, allocations: 460.1 kB / 1.469 GB, free: 63.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/2.456, allocations: 1.542 MB / 1.471 GB, free: 61.78 MB / 0.8542 GB Notification: Performance of SimCode: time 2.305e-06/2.456, allocations: 0 / 1.471 GB, free: 61.78 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09996/2.556, allocations: 59.98 MB / 1.529 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/2.556, allocations: 200.8 kB / 1.529 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/6.061, allocations: 0 / 1.529 GB, free: 2.48 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)