Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.0009672, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009699/0.00097, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 69.25 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1818, allocations: 114.6 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03333/0.2151, allocations: 32.5 MB / 0.8152 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.2307, allocations: 10.38 MB / 0.8254 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.2331, allocations: 147.2 kB / 0.8255 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.2413, allocations: 3.706 MB / 0.8291 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.2458, allocations: 1.854 MB / 0.8309 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.2505, allocations: 2.126 MB / 0.833 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007427/0.258, allocations: 7.326 MB / 0.8402 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.2696, allocations: 9.486 MB / 0.8494 GB, free: 9.508 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.2744, allocations: 3.159 MB / 0.8525 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.2789, allocations: 3.481 MB / 0.8559 GB, free: 2.848 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.2804, allocations: 0.6484 MB / 0.8565 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.284, allocations: 1.767 MB / 0.8583 GB, free: 440 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.2863, allocations: 2.55 MB / 0.8608 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00266/0.289, allocations: 2.898 MB / 0.8636 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007455/0.2964, allocations: 10.04 MB / 0.8734 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2965, allocations: 0 / 0.8734 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2965, allocations: 4 kB / 0.8734 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001073/0.2966, allocations: 0 / 0.8734 GB, free: 0.8906 MB / 0.6856 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.007388/0.304, allocations: 5.002 MB / 0.8783 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.304, allocations: 8.031 kB / 0.8783 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007593/0.3048, allocations: 0.682 MB / 0.879 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.3093, allocations: 0.9552 MB / 0.8799 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.3133, allocations: 2.859 MB / 0.8827 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.3135, allocations: 349.6 kB / 0.883 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005945/0.3141, allocations: 460.2 kB / 0.8835 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009826/0.3239, allocations: 7.671 MB / 0.8909 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.922e-05/0.324, allocations: 27.67 kB / 0.891 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.3245, allocations: 204 kB / 0.8912 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002946/0.3248, allocations: 313 kB / 0.8915 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007664/0.3324, allocations: 5.71 MB / 0.897 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3251/0.6575, allocations: 35.09 MB / 0.9313 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.6596, allocations: 2.157 MB / 0.9334 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.6608, allocations: 1.259 MB / 0.9346 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.6609, allocations: 20.7 kB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.6609, allocations: 52.31 kB / 0.9347 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 2.935e-06/0.6609, allocations: 0 / 0.9347 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01139/0.6723, allocations: 7.08 MB / 0.9416 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.6724, allocations: 74.36 kB / 0.9417 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.6741, allocations: 1.49 MB / 0.9432 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.6742, allocations: 46.89 kB / 0.9432 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/0.6751, allocations: 2.002 MB / 0.9452 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.6755, allocations: 488.8 kB / 0.9456 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/0.6759, allocations: 351.3 kB / 0.946 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.676, allocations: 301.9 kB / 0.9462 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.6772, allocations: 0.9111 MB / 0.9471 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.6788, allocations: 1.601 MB / 0.9487 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.6819, allocations: 2.732 MB / 0.9514 GB, free: 99.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.6819, allocations: 7.406 kB / 0.9514 GB, free: 99.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005447/0.6874, allocations: 3.524 MB / 0.9548 GB, free: 98.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6874, allocations: 15.33 kB / 0.9548 GB, free: 98.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.6875, allocations: 21.97 kB / 0.9548 GB, free: 98.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.6897, allocations: 0.905 MB / 0.9557 GB, free: 97.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6907, allocations: 351.7 kB / 0.9561 GB, free: 97.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.7052, allocations: 23.12 MB / 0.9786 GB, free: 78.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7066, allocations: 110.2 kB / 0.9788 GB, free: 77.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.7067, allocations: 85.78 kB / 0.9788 GB, free: 77.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001842/0.7086, allocations: 1.614 MB / 0.9804 GB, free: 77.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.7088, allocations: 203.9 kB / 0.9806 GB, free: 77.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.7127, allocations: 2.991 MB / 0.9835 GB, free: 75.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.7128, allocations: 19.56 kB / 0.9835 GB, free: 75.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.7128, allocations: 9.406 kB / 0.9836 GB, free: 75.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7128, allocations: 3.984 kB / 0.9836 GB, free: 75.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.7209, allocations: 7.339 MB / 0.9907 GB, free: 70.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7209, allocations: 8.141 kB / 0.9907 GB, free: 70.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.7216, allocations: 182.1 kB / 0.9909 GB, free: 70.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.7235, allocations: 0.8307 MB / 0.9917 GB, free: 70.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.7236, allocations: 31.88 kB / 0.9917 GB, free: 70.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.7361, allocations: 21.95 MB / 1.013 GB, free: 49.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7361, allocations: 3.125 kB / 1.013 GB, free: 49.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.7399, allocations: 3.031 MB / 1.016 GB, free: 47.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.7405, allocations: 458.4 kB / 1.017 GB, free: 47.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.7407, allocations: 31.98 kB / 1.017 GB, free: 47.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/0.7414, allocations: 71.86 kB / 1.017 GB, free: 46.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.7416, allocations: 124.7 kB / 1.017 GB, free: 46.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.7417, allocations: 43.92 kB / 1.017 GB, free: 46.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008897/0.7426, allocations: 0.9756 MB / 1.018 GB, free: 45.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7426, allocations: 0 / 1.018 GB, free: 45.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002105/0.7447, allocations: 0.7852 MB / 1.019 GB, free: 45.01 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003702/0.7484, allocations: 3.606 MB / 1.022 GB, free: 41.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004947/0.7534, allocations: 4.65 MB / 1.027 GB, free: 36.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7534, allocations: 0 / 1.027 GB, free: 36.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.7559, allocations: 2.735 MB / 1.029 GB, free: 33.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.7584, allocations: 0.7431 MB / 1.03 GB, free: 32.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.7811, allocations: 23.83 MB / 1.053 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.7832, allocations: 3.108 MB / 1.056 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001051/0.7843, allocations: 461.9 kB / 1.057 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.7854, allocations: 1.534 MB / 1.058 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.7855, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.775/6.561, allocations: 60.29 MB / 1.117 GB, free: 6.621 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/18.24, allocations: 17.25 kB / 1.117 GB, free: 6.605 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)