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.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 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.001866/0.001866, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.468/1.468, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.764/1.764, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001439/0.001439, allocations: 69.41 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2108, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03724/0.2481, allocations: 32.5 MB / 0.8152 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.2651, allocations: 10.38 MB / 0.8253 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00277/0.2679, allocations: 147.3 kB / 0.8255 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009184/0.2772, allocations: 3.707 MB / 0.8291 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.2827, allocations: 1.862 MB / 0.8309 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005195/0.2879, allocations: 2.134 MB / 0.833 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007783/0.2957, allocations: 7.314 MB / 0.8402 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.3061, allocations: 9.49 MB / 0.8494 GB, free: 9.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005689/0.3118, allocations: 3.155 MB / 0.8525 GB, free: 6.371 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/0.3172, allocations: 3.485 MB / 0.8559 GB, free: 2.875 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.3187, allocations: 0.6484 MB / 0.8565 GB, free: 2.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.3225, allocations: 1.763 MB / 0.8583 GB, free: 472 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.3252, allocations: 2.554 MB / 0.8608 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.3291, allocations: 2.894 MB / 0.8636 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.3404, allocations: 10.05 MB / 0.8734 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3405, allocations: 0 / 0.8734 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3405, allocations: 0 / 0.8734 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002716/0.3408, allocations: 0 / 0.8734 GB, free: 0.918 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.01351/0.3543, allocations: 4.998 MB / 0.8783 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.3544, allocations: 15.97 kB / 0.8783 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002026/0.3564, allocations: 0.6859 MB / 0.879 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/0.3627, allocations: 0.9435 MB / 0.8799 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005535/0.3683, allocations: 2.862 MB / 0.8827 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.3686, allocations: 353.7 kB / 0.883 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.37, allocations: 464.2 kB / 0.8835 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.3863, allocations: 7.667 MB / 0.8909 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002943/0.3867, allocations: 27.67 kB / 0.891 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/0.3881, allocations: 200 kB / 0.8912 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004435/0.3885, allocations: 313 kB / 0.8915 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4012, allocations: 5.718 MB / 0.897 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4312/0.8325, allocations: 35.08 MB / 0.9313 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.8348, allocations: 2.155 MB / 0.9334 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.8361, allocations: 1.26 MB / 0.9346 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.8362, allocations: 19.12 kB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8362, allocations: 44.47 kB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.517e-06/0.8362, allocations: 6.75 kB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01244/0.8487, allocations: 7.091 MB / 0.9416 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8487, allocations: 66.25 kB / 0.9417 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.8507, allocations: 1.491 MB / 0.9431 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.8508, allocations: 46.48 kB / 0.9432 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.8519, allocations: 2.006 MB / 0.9452 GB, free: 104 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.8523, allocations: 484.8 kB / 0.9456 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004991/0.8528, allocations: 350.8 kB / 0.9459 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.8528, allocations: 304.9 kB / 0.9462 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.8542, allocations: 0.9151 MB / 0.9471 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.8558, allocations: 1.596 MB / 0.9487 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.8593, allocations: 2.733 MB / 0.9514 GB, free: 99.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.8593, allocations: 6.906 kB / 0.9514 GB, free: 99.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006147/0.8655, allocations: 3.53 MB / 0.9548 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.8656, allocations: 14.56 kB / 0.9548 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.8656, allocations: 21.53 kB / 0.9548 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.868, allocations: 0.9029 MB / 0.9557 GB, free: 98.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.8692, allocations: 353.3 kB / 0.9561 GB, free: 98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.8851, allocations: 23.13 MB / 0.9787 GB, free: 78.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.8868, allocations: 103.4 kB / 0.9787 GB, free: 78.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.8871, allocations: 85.34 kB / 0.9788 GB, free: 78.07 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.002344/0.8894, allocations: 1.614 MB / 0.9804 GB, free: 77.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.8898, allocations: 203.8 kB / 0.9806 GB, free: 77.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.8943, allocations: 2.991 MB / 0.9835 GB, free: 75.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.8943, allocations: 15.72 kB / 0.9835 GB, free: 75.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/0.8944, allocations: 11.75 kB / 0.9835 GB, free: 75.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8944, allocations: 7.969 kB / 0.9836 GB, free: 75.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.9072, allocations: 7.346 MB / 0.9907 GB, free: 70.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.9073, allocations: 6.781 kB / 0.9907 GB, free: 70.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.9085, allocations: 175.9 kB / 0.9909 GB, free: 70.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/0.9119, allocations: 0.8307 MB / 0.9917 GB, free: 70.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.9121, allocations: 27.88 kB / 0.9917 GB, free: 70.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/0.9332, allocations: 21.95 MB / 1.013 GB, free: 49.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9332, allocations: 3.812 kB / 1.013 GB, free: 49.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006/0.9392, allocations: 3.03 MB / 1.016 GB, free: 47.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.9404, allocations: 458.5 kB / 1.017 GB, free: 47.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.941, allocations: 28 kB / 1.017 GB, free: 47.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9423, allocations: 79.84 kB / 1.017 GB, free: 47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.9428, allocations: 124.7 kB / 1.017 GB, free: 46.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.9429, allocations: 36 kB / 1.017 GB, free: 46.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001527/0.9444, allocations: 0.9756 MB / 1.018 GB, free: 45.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9444, allocations: 0 / 1.018 GB, free: 45.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003833/0.9483, allocations: 0.7891 MB / 1.019 GB, free: 45.05 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.006114/0.9544, allocations: 3.606 MB / 1.022 GB, free: 41.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008488/0.9629, allocations: 4.657 MB / 1.027 GB, free: 36.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.963, allocations: 0 / 1.027 GB, free: 36.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.9672, allocations: 2.731 MB / 1.029 GB, free: 33.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/0.9716, allocations: 0.7368 MB / 1.03 GB, free: 32.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04391/1.016, allocations: 23.84 MB / 1.053 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/1.02, allocations: 3.104 MB / 1.056 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002082/1.023, allocations: 461.9 kB / 1.057 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.025, allocations: 1.538 MB / 1.058 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/1.025, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/1.217, allocations: 60.29 MB / 1.117 GB, free: 6.664 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.91, allocations: 9.312 kB / 1.117 GB, free: 6.656 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)