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.848/1.848, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001159/0.001159, allocations: 182.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001109/0.001109, allocations: 90.47 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.795e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2473, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.761/1.008, allocations: 158 MB / 1.046 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.009, allocations: 95.98 kB / 1.046 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0886/1.097, allocations: 37.26 MB / 1.083 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/1.097, allocations: 4 kB / 1.083 GB, free: 11.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.742e-05/1.097, allocations: 20 kB / 1.083 GB, free: 11.01 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.001374/1.099, allocations: 0.8649 MB / 1.084 GB, free: 10.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.099, allocations: 12.03 kB / 1.084 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/1.099, allocations: 122.2 kB / 1.084 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.1, allocations: 218.7 kB / 1.084 GB, free: 9.836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.102, allocations: 0.5431 MB / 1.084 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/1.102, allocations: 42.06 kB / 1.084 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.102, allocations: 73.31 kB / 1.085 GB, free: 9.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/1.103, allocations: 1.073 MB / 1.086 GB, free: 8.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/1.103, allocations: 15.92 kB / 1.086 GB, free: 8.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/1.103, allocations: 25.88 kB / 1.086 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/1.103, allocations: 60.72 kB / 1.086 GB, free: 8.195 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/1.104, allocations: 0.6673 MB / 1.086 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/1.11, allocations: 5.783 MB / 1.092 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/1.111, allocations: 0.5872 MB / 1.093 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/1.111, allocations: 396.5 kB / 1.093 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/1.111, allocations: 4 kB / 1.093 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.111, allocations: 47.23 kB / 1.093 GB, free: 416 kB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/1.111, allocations: 0 / 1.093 GB, free: 416 kB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002374/1.114, allocations: 1.207 MB / 1.094 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.114, allocations: 55.41 kB / 1.094 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/1.114, allocations: 396.7 kB / 1.095 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.114, allocations: 41.7 kB / 1.095 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/1.115, allocations: 379.2 kB / 1.095 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.115, allocations: 145.9 kB / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/1.115, allocations: 16 kB / 1.095 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.115, allocations: 358.8 kB / 1.095 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/1.115, allocations: 233 kB / 1.096 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/1.116, allocations: 425.5 kB / 1.096 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/1.116, allocations: 296.5 kB / 1.096 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.116, allocations: 7.953 kB / 1.096 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001765/1.118, allocations: 1.007 MB / 1.097 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.118, allocations: 17.8 kB / 1.097 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.118, allocations: 8 kB / 1.097 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009831/1.119, allocations: 311.1 kB / 1.098 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/1.119, allocations: 95.81 kB / 1.098 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/1.126, allocations: 7.098 MB / 1.105 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/1.127, allocations: 27.98 kB / 1.105 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/1.127, allocations: 24 kB / 1.105 GB, free: 3.574 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.0001662/1.127, allocations: 147.4 kB / 1.105 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.127, allocations: 63.25 kB / 1.105 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.129, allocations: 0.8924 MB / 1.106 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.129, allocations: 8 kB / 1.106 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.129, allocations: 4 kB / 1.106 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.129, allocations: 0 / 1.106 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/1.132, allocations: 1.859 MB / 1.108 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.132, allocations: 4 kB / 1.108 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/1.132, allocations: 43.97 kB / 1.108 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/1.133, allocations: 283.3 kB / 1.108 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.133, allocations: 8 kB / 1.108 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.139, allocations: 6.813 MB / 1.115 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.139, allocations: 8 kB / 1.115 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.141, allocations: 1.006 MB / 1.116 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/1.141, allocations: 176.3 kB / 1.116 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/1.141, allocations: 8 kB / 1.116 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/1.142, allocations: 27.97 kB / 1.116 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.142, allocations: 39.89 kB / 1.116 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/1.142, allocations: 12 kB / 1.116 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003431/1.142, allocations: 301.6 kB / 1.116 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.142, allocations: 0 / 1.116 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008471/1.143, allocations: 192 kB / 1.116 GB, free: 6.898 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.002028/1.145, allocations: 1.963 MB / 1.118 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.147, allocations: 1.152 MB / 1.119 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.147, allocations: 0 / 1.119 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.148, allocations: 0.8188 MB / 1.12 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/1.149, allocations: 182.8 kB / 1.12 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.151, allocations: 1.048 MB / 1.121 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.151, allocations: 1.008 MB / 1.122 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003071/1.152, allocations: 101.1 kB / 1.122 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/1.152, allocations: 223.4 kB / 1.123 GB, free: 144 kB / 0.7292 GB Notification: Performance of SimCode: time 1.843e-06/1.152, allocations: 0 / 1.123 GB, free: 144 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/1.183, allocations: 14.15 MB / 1.137 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.183, allocations: 198.1 kB / 1.137 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.415, allocations: 0 / 1.137 GB, free: 1.988 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)