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.001079/0.00108, allocations: 109.4 kB / 15.69 MB, free: 128 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.001041/0.001042, allocations: 188.2 kB / 16.62 MB, free: 6.613 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.62/1.62, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001377/0.001377, allocations: 69.69 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2172, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03468/0.252, allocations: 32.49 MB / 0.8154 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.2677, allocations: 10.38 MB / 0.8255 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.2705, allocations: 147.2 kB / 0.8256 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00873/0.2793, allocations: 3.716 MB / 0.8293 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.2849, allocations: 1.846 MB / 0.8311 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.2901, allocations: 2.134 MB / 0.8332 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008702/0.2989, allocations: 7.325 MB / 0.8403 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.3104, allocations: 9.479 MB / 0.8496 GB, free: 9.406 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.3158, allocations: 3.17 MB / 0.8527 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006347/0.3222, allocations: 3.485 MB / 0.8561 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.3237, allocations: 0.6484 MB / 0.8567 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/0.3285, allocations: 1.775 MB / 0.8584 GB, free: 312 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.3314, allocations: 2.55 MB / 0.8609 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004141/0.3355, allocations: 2.894 MB / 0.8638 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3457, allocations: 10.11 MB / 0.8736 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.3458, allocations: 3.984 kB / 0.8736 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3458, allocations: 0 / 0.8736 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002455/0.346, allocations: 4 kB / 0.8736 GB, free: 0.6992 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.009779/0.3558, allocations: 4.994 MB / 0.8785 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3559, allocations: 12.03 kB / 0.8785 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001009/0.3569, allocations: 0.6859 MB / 0.8792 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.3619, allocations: 0.9435 MB / 0.8801 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.3675, allocations: 3.046 MB / 0.8831 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.3678, allocations: 349.7 kB / 0.8834 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009736/0.3688, allocations: 460.2 kB / 0.8839 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.3828, allocations: 7.675 MB / 0.8914 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.383, allocations: 27.69 kB / 0.8914 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005688/0.3835, allocations: 204 kB / 0.8916 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003461/0.3839, allocations: 313 kB / 0.8919 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.3947, allocations: 5.71 MB / 0.8974 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4292/0.8239, allocations: 34.82 MB / 0.9315 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.8262, allocations: 2.161 MB / 0.9336 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.8274, allocations: 1.26 MB / 0.9348 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/0.8275, allocations: 18.75 kB / 0.9348 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8276, allocations: 45.42 kB / 0.9349 GB, free: 109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.828e-06/0.8276, allocations: 3.188 kB / 0.9349 GB, free: 109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0128/0.8404, allocations: 7.082 MB / 0.9418 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.8405, allocations: 67.84 kB / 0.9418 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.8433, allocations: 1.495 MB / 0.9433 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.8434, allocations: 45.45 kB / 0.9433 GB, free: 105 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.845, allocations: 2.01 MB / 0.9453 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.8454, allocations: 481.3 kB / 0.9458 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.846, allocations: 350.8 kB / 0.9461 GB, free: 103 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.8461, allocations: 306.4 kB / 0.9464 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.8475, allocations: 0.9106 MB / 0.9473 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.8493, allocations: 1.595 MB / 0.9488 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.8528, allocations: 2.736 MB / 0.9515 GB, free: 99.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.8529, allocations: 6.75 kB / 0.9515 GB, free: 99.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005882/0.8588, allocations: 3.536 MB / 0.955 GB, free: 97.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.8588, allocations: 14.25 kB / 0.955 GB, free: 97.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.8589, allocations: 21.97 kB / 0.955 GB, free: 97.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.8612, allocations: 0.8968 MB / 0.9559 GB, free: 97.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.8623, allocations: 352 kB / 0.9562 GB, free: 97.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.8786, allocations: 23.11 MB / 0.9788 GB, free: 77.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.8804, allocations: 107 kB / 0.9789 GB, free: 77.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.8806, allocations: 86.5 kB / 0.979 GB, free: 77.65 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.002355/0.8829, allocations: 1.612 MB / 0.9805 GB, free: 76.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.8833, allocations: 207.7 kB / 0.9807 GB, free: 76.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.8875, allocations: 2.986 MB / 0.9837 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8875, allocations: 15.72 kB / 0.9837 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.8876, allocations: 7.812 kB / 0.9837 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.8876, allocations: 11.91 kB / 0.9837 GB, free: 74.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/0.8969, allocations: 7.338 MB / 0.9909 GB, free: 70.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.897, allocations: 7 kB / 0.9909 GB, free: 70.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.8977, allocations: 177.8 kB / 0.991 GB, free: 70.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.8997, allocations: 0.8252 MB / 0.9918 GB, free: 69.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.8998, allocations: 31.72 kB / 0.9919 GB, free: 69.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.9133, allocations: 21.94 MB / 1.013 GB, free: 49.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9134, allocations: 3.469 kB / 1.013 GB, free: 49.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.9176, allocations: 3.027 MB / 1.016 GB, free: 47.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.9185, allocations: 454.5 kB / 1.017 GB, free: 46.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9187, allocations: 28 kB / 1.017 GB, free: 46.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.9195, allocations: 79.84 kB / 1.017 GB, free: 46.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.9198, allocations: 124.7 kB / 1.017 GB, free: 46.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.9198, allocations: 40 kB / 1.017 GB, free: 46.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009836/0.9208, allocations: 0.9756 MB / 1.018 GB, free: 45.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9208, allocations: 2.297 kB / 1.018 GB, free: 45.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002534/0.9234, allocations: 0.7852 MB / 1.019 GB, free: 44.78 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.004076/0.9275, allocations: 3.614 MB / 1.022 GB, free: 41.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004689/0.9322, allocations: 4.041 MB / 1.026 GB, free: 36.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9322, allocations: 0 / 1.026 GB, free: 36.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.9351, allocations: 2.728 MB / 1.029 GB, free: 33.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.9383, allocations: 0.7322 MB / 1.03 GB, free: 33.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/0.9659, allocations: 22.33 MB / 1.051 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.9684, allocations: 3.105 MB / 1.054 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9695, allocations: 456.7 kB / 1.055 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.9708, allocations: 1.534 MB / 1.056 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.9708, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.081, allocations: 60.32 MB / 1.115 GB, free: 9.203 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.7, allocations: 4.062 kB / 1.115 GB, free: 9.199 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)