Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.957 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.001146/0.001146, allocations: 176.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0007947/0.0007947, allocations: 89.59 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.854e-05, allocations: 3.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7025/0.8966, allocations: 158.3 MB / 1.04 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.8969, allocations: 99.8 kB / 1.04 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08553/0.9824, allocations: 37.12 MB / 1.076 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9825, allocations: 0 / 1.076 GB, free: 13.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.671e-05/0.9826, allocations: 24 kB / 1.076 GB, free: 13.83 MB / 0.698 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.001502/0.9841, allocations: 0.8658 MB / 1.077 GB, free: 12.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.9841, allocations: 12.03 kB / 1.077 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.9857, allocations: 218.5 kB / 1.077 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.9867, allocations: 0.5448 MB / 1.078 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.9868, allocations: 20 kB / 1.078 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.9869, allocations: 43.41 kB / 1.078 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008741/0.9877, allocations: 0.5454 MB / 1.078 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.9891, allocations: 0.9881 MB / 1.079 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.9891, allocations: 11.94 kB / 1.079 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.9892, allocations: 4 kB / 1.079 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.9893, allocations: 57.03 kB / 1.08 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/0.9941, allocations: 5.639 MB / 1.085 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.9948, allocations: 0.5763 MB / 1.086 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.9954, allocations: 382.4 kB / 1.086 GB, free: 4.531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.9955, allocations: 4 kB / 1.086 GB, free: 4.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.9955, allocations: 38.12 kB / 1.086 GB, free: 4.484 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.585e-06/0.9955, allocations: 0 / 1.086 GB, free: 4.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002061/0.9976, allocations: 1.158 MB / 1.087 GB, free: 3.574 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.9976, allocations: 58.66 kB / 1.087 GB, free: 3.508 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.998, allocations: 332.4 kB / 1.088 GB, free: 3.238 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.998, allocations: 25.7 kB / 1.088 GB, free: 3.207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.9982, allocations: 385.1 kB / 1.088 GB, free: 2.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.9983, allocations: 143.7 kB / 1.088 GB, free: 2.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.9983, allocations: 0 / 1.088 GB, free: 2.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9985, allocations: 359.8 kB / 1.088 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.9988, allocations: 231.4 kB / 1.089 GB, free: 2.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.9992, allocations: 401.7 kB / 1.089 GB, free: 1.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.9995, allocations: 288.9 kB / 1.089 GB, free: 1.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9995, allocations: 0 / 1.089 GB, free: 1.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/1.001, allocations: 0.9409 MB / 1.09 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.001, allocations: 14.16 kB / 1.09 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.001, allocations: 4 kB / 1.09 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/1.002, allocations: 309 kB / 1.09 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/1.002, allocations: 91.02 kB / 1.091 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/1.008, allocations: 6.833 MB / 1.097 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/1.009, allocations: 23.92 kB / 1.097 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/1.009, allocations: 26.92 kB / 1.097 GB, free: 10 MB / 0.7136 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.0001284/1.009, allocations: 124.4 kB / 1.097 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001327/1.01, allocations: 0.7916 MB / 1.098 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/1.01, allocations: 59.38 kB / 1.098 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.012, allocations: 0.8481 MB / 1.099 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.012, allocations: 4 kB / 1.099 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.012, allocations: 4 kB / 1.099 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.012, allocations: 3.984 kB / 1.099 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/1.014, allocations: 1.712 MB / 1.101 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.014, allocations: 4 kB / 1.101 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/1.014, allocations: 43.91 kB / 1.101 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007711/1.015, allocations: 280.9 kB / 1.101 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/1.015, allocations: 0 / 1.101 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005327/1.021, allocations: 6.551 MB / 1.107 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.021, allocations: 4.031 kB / 1.107 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.022, allocations: 0.9743 MB / 1.108 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/1.022, allocations: 172.4 kB / 1.109 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/1.022, allocations: 4 kB / 1.109 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/1.023, allocations: 11.98 kB / 1.109 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.023, allocations: 39.94 kB / 1.109 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/1.023, allocations: 12 kB / 1.109 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002644/1.023, allocations: 255 kB / 1.109 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/1.023, allocations: 3.938 kB / 1.109 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008052/1.024, allocations: 183.9 kB / 1.109 GB, free: 14.67 MB / 0.7292 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.00174/1.026, allocations: 1.912 MB / 1.111 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.027, allocations: 1.09 MB / 1.112 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.027, allocations: 4 kB / 1.112 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.028, allocations: 0.7724 MB / 1.113 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/1.029, allocations: 164.9 kB / 1.113 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/1.031, allocations: 1.013 MB / 1.114 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/1.032, allocations: 1 MB / 1.115 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003415/1.032, allocations: 96.89 kB / 1.115 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.033, allocations: 223.4 kB / 1.115 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of SimCode: time 2.575e-06/1.033, allocations: 0 / 1.115 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/1.067, allocations: 12.89 MB / 1.128 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.067, allocations: 167.7 kB / 1.128 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.273, allocations: 0 / 1.128 GB, free: 11.16 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)