Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0012/0.0012, 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.001507/0.001507, allocations: 195.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.564/1.564, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001431/0.001431, allocations: 70.05 kB / 0.6716 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02439/0.2719, allocations: 22.59 MB / 0.8055 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.283, allocations: 6.269 MB / 0.8117 GB, free: 420 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.2856, allocations: 107.4 kB / 0.8118 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.2901, allocations: 1.538 MB / 0.8133 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.2959, allocations: 1.625 MB / 0.8149 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.3001, allocations: 1.34 MB / 0.8162 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008207/0.3084, allocations: 5.936 MB / 0.822 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007751/0.3162, allocations: 6.099 MB / 0.8279 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.3201, allocations: 2.411 MB / 0.8303 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.3248, allocations: 2.858 MB / 0.8331 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009643/0.3258, allocations: 460 kB / 0.8335 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3282, allocations: 1.1 MB / 0.8346 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.3304, allocations: 2.031 MB / 0.8366 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.3335, allocations: 2.163 MB / 0.8387 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00799/0.3415, allocations: 7.253 MB / 0.8458 GB, free: 13.33 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3416, allocations: 0 / 0.8458 GB, free: 13.33 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3416, allocations: 0 / 0.8458 GB, free: 13.33 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001997/0.3418, allocations: 0 / 0.8458 GB, free: 13.33 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008528/0.3503, allocations: 3.813 MB / 0.8495 GB, free: 9.457 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3504, allocations: 11.97 kB / 0.8495 GB, free: 9.445 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007307/0.3511, allocations: 0.5092 MB / 0.85 GB, free: 8.926 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006126/0.3573, allocations: 1.202 MB / 0.8512 GB, free: 7.719 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.3618, allocations: 2.219 MB / 0.8533 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.362, allocations: 246.4 kB / 0.8536 GB, free: 5.199 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.363, allocations: 308 kB / 0.8539 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.373, allocations: 6.212 MB / 0.8599 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.071e-05/0.3731, allocations: 11.88 kB / 0.8599 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.3735, allocations: 143.9 kB / 0.8601 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004588/0.3739, allocations: 402.3 kB / 0.8605 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007618/0.3816, allocations: 4.658 MB / 0.865 GB, free: 9.211 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.4132, allocations: 29.15 MB / 0.8935 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.4152, allocations: 1.408 MB / 0.8948 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4169, allocations: 1.487 MB / 0.8963 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.417, allocations: 20.92 kB / 0.8963 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4171, allocations: 51.44 kB / 0.8964 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.956e-06/0.4171, allocations: 0 / 0.8964 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.6703/1.087, allocations: 37.23 MB / 0.9327 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.088, allocations: 74.94 kB / 0.9328 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/1.091, allocations: 1.414 MB / 0.9342 GB, free: 127 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004592/1.091, allocations: 56.17 kB / 0.9342 GB, free: 127 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/1.092, allocations: 1.541 MB / 0.9357 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007085/1.093, allocations: 0.6127 MB / 0.9363 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009622/1.094, allocations: 382.4 kB / 0.9367 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/1.094, allocations: 305.5 kB / 0.937 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/1.097, allocations: 1.787 MB / 0.9387 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/1.1, allocations: 2.348 MB / 0.941 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/1.106, allocations: 4.39 MB / 0.9453 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.106, allocations: 5.25 kB / 0.9453 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01777/1.124, allocations: 8.567 MB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/1.124, allocations: 16.47 kB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/1.124, allocations: 15.75 kB / 0.9537 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/1.138, allocations: 4.671 MB / 0.9583 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.139, allocations: 308.2 kB / 0.9586 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04003/1.179, allocations: 32.6 MB / 0.9904 GB, free: 82.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/1.182, allocations: 151.8 kB / 0.9906 GB, free: 82.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/1.182, allocations: 87.98 kB / 0.9906 GB, free: 82.67 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002623/1.185, allocations: 1.331 MB / 0.9919 GB, free: 81.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/1.186, allocations: 198.1 kB / 0.9921 GB, free: 81.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.202, allocations: 8.437 MB / 1 GB, free: 72.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/1.202, allocations: 23.94 kB / 1 GB, free: 72.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/1.202, allocations: 24 kB / 1 GB, free: 72.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/1.203, allocations: 7.969 kB / 1 GB, free: 72.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/1.225, allocations: 12.84 MB / 1.013 GB, free: 59.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.225, allocations: 4 kB / 1.013 GB, free: 59.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/1.226, allocations: 171.7 kB / 1.013 GB, free: 59.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/1.238, allocations: 4.513 MB / 1.018 GB, free: 54.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/1.239, allocations: 37.62 kB / 1.018 GB, free: 54.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03871/1.277, allocations: 32.22 MB / 1.049 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.277, allocations: 11.94 kB / 1.049 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.293, allocations: 8.247 MB / 1.057 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.294, allocations: 0.6117 MB / 1.058 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/1.295, allocations: 43.98 kB / 1.058 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.297, allocations: 127.8 kB / 1.058 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009174/1.298, allocations: 182.4 kB / 1.058 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.298, allocations: 51.94 kB / 1.058 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001176/1.299, allocations: 0.9603 MB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.299, allocations: 0 / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003762/1.303, allocations: 1.113 MB / 1.06 GB, free: 10.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01483/1.318, allocations: 8.836 MB / 1.069 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.014/1.332, allocations: 7.072 MB / 1.076 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.332, allocations: 0 / 1.076 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.342, allocations: 4.357 MB / 1.08 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.345, allocations: 0.5258 MB / 1.08 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06107/1.406, allocations: 35.22 MB / 1.115 GB, free: 436 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/1.41, allocations: 2.736 MB / 1.117 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001263/1.411, allocations: 384.2 kB / 1.118 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.413, allocations: 1.218 MB / 1.119 GB, free: 12.07 MB / 0.795 GB Notification: Performance of SimCode: time 1.863e-06/1.413, allocations: 0 / 1.119 GB, free: 12.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.558, allocations: 82.85 MB / 1.2 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.58, allocations: 11.78 kB / 1.2 GB, free: 9.73 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)