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.899/1.899, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.0009724/0.0009724, allocations: 176.5 kB / 372.2 MB, free: 10.12 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.466/1.466, allocations: 205.4 MB / 0.631 GB, free: 9.781 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 92.69 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 16.03 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005158/0.1997, allocations: 5.433 MB / 0.9855 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.2037, allocations: 3.042 MB / 0.9885 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005418/0.2043, allocations: 31.75 kB / 0.9885 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.2047, allocations: 119 kB / 0.9886 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.2059, allocations: 422 kB / 0.989 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2071, allocations: 416.2 kB / 0.9894 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.2083, allocations: 1.24 MB / 0.9906 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2097, allocations: 0.9628 MB / 0.9916 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.2102, allocations: 362.5 kB / 0.9919 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.2107, allocations: 438.3 kB / 0.9923 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.2107, allocations: 35.98 kB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.2115, allocations: 0.534 MB / 0.9929 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2117, allocations: 251.3 kB / 0.9931 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.2119, allocations: 375.9 kB / 0.9935 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.2126, allocations: 0.8963 MB / 0.9944 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2126, allocations: 0 / 0.9944 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2126, allocations: 4 kB / 0.9944 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2126, allocations: 0 / 0.9944 GB, free: 12.62 MB / 0.6198 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.001099/0.2137, allocations: 0.9232 MB / 0.9953 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2138, allocations: 12.03 kB / 0.9953 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.2139, allocations: 118.7 kB / 0.9954 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2151, allocations: 215.7 kB / 0.9956 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.2157, allocations: 0.5376 MB / 0.9961 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.2158, allocations: 45.67 kB / 0.9962 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.2158, allocations: 64.36 kB / 0.9962 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2169, allocations: 1.033 MB / 0.9972 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.2169, allocations: 19.77 kB / 0.9973 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.217, allocations: 27.98 kB / 0.9973 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/0.2171, allocations: 69.27 kB / 0.9974 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.2179, allocations: 0.6879 MB / 0.998 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.2212, allocations: 5.76 MB / 1.004 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.2219, allocations: 0.5996 MB / 1.004 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.2225, allocations: 412.6 kB / 1.005 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.2225, allocations: 8 kB / 1.005 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2225, allocations: 38.55 kB / 1.005 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/0.2225, allocations: 0 / 1.005 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003755/0.2263, allocations: 2.069 MB / 1.007 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2264, allocations: 55.41 kB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.2268, allocations: 454.8 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2268, allocations: 33.7 kB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.2271, allocations: 387 kB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2272, allocations: 157.8 kB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2272, allocations: 16 kB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2273, allocations: 366.8 kB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.2277, allocations: 245.1 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.2281, allocations: 453 kB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.229, allocations: 0.7558 MB / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.229, allocations: 0 / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001698/0.2307, allocations: 1.062 MB / 1.011 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2307, allocations: 8 kB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2307, allocations: 8 kB / 1.011 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/0.2317, allocations: 327.8 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.232, allocations: 95.81 kB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/0.2391, allocations: 6.95 MB / 1.018 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.2396, allocations: 32.02 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.2396, allocations: 24 kB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004314/0.24, allocations: 249.5 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.2401, allocations: 63.28 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.2419, allocations: 0.904 MB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2419, allocations: 8 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2419, allocations: 4 kB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2419, allocations: 3.984 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.2445, allocations: 1.708 MB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.2445, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.2447, allocations: 47.84 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/0.2456, allocations: 311.3 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.2457, allocations: 12 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.252, allocations: 6.947 MB / 1.028 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.252, allocations: 0 / 1.028 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2537, allocations: 1.01 MB / 1.029 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.2539, allocations: 176.4 kB / 1.029 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.254, allocations: 8 kB / 1.029 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.2543, allocations: 23.97 kB / 1.029 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2544, allocations: 39.89 kB / 1.029 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.2544, allocations: 19.94 kB / 1.029 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003638/0.2548, allocations: 310.7 kB / 1.029 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2548, allocations: 0 / 1.029 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008121/0.2556, allocations: 196 kB / 1.03 GB, free: 6.297 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 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.001841/0.2575, allocations: 1.553 MB / 1.031 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.2593, allocations: 1.21 MB / 1.032 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2593, allocations: 0 / 1.032 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.2604, allocations: 0.8584 MB / 1.033 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2615, allocations: 190.3 kB / 1.033 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.2671, allocations: 4.036 MB / 1.037 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.2677, allocations: 0.9921 MB / 1.038 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.268, allocations: 97.28 kB / 1.038 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.2683, allocations: 223.4 kB / 1.038 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/0.2683, allocations: 0 / 1.038 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7375/1.006, allocations: 14.68 MB / 1.053 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/1.006, allocations: 240.2 kB / 1.053 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.054, allocations: 0 / 1.053 GB, free: 14.14 MB / 0.6823 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)