Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_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.001092/0.001092, 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.001232/0.001232, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 295 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 109.5 kB / 0.5954 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1434, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02353/0.1669, allocations: 22.56 MB / 0.7023 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1774, allocations: 6.23 MB / 0.7084 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.1799, allocations: 103.4 kB / 0.7085 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004116/0.184, allocations: 1.542 MB / 0.71 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.1876, allocations: 1.622 MB / 0.7116 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.1905, allocations: 1.344 MB / 0.7129 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005436/0.1959, allocations: 5.943 MB / 0.7187 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007015/0.203, allocations: 6.095 MB / 0.7247 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.2062, allocations: 2.399 MB / 0.727 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.2101, allocations: 2.87 MB / 0.7298 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.2112, allocations: 460 kB / 0.7303 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.2137, allocations: 1.096 MB / 0.7313 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.2165, allocations: 2.031 MB / 0.7333 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003502/0.22, allocations: 2.163 MB / 0.7354 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.2264, allocations: 7.26 MB / 0.7425 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2265, allocations: 0 / 0.7425 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2265, allocations: 0 / 0.7425 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001047/0.2266, allocations: 0 / 0.7425 GB, free: 0.6328 MB / 0.5294 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.006574/0.2332, allocations: 3.805 MB / 0.7462 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.2332, allocations: 12.03 kB / 0.7462 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006421/0.2339, allocations: 0.5014 MB / 0.7467 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.2396, allocations: 1.213 MB / 0.7479 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.243, allocations: 2.227 MB / 0.7501 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.2431, allocations: 238.4 kB / 0.7503 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004623/0.2436, allocations: 315.8 kB / 0.7506 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008131/0.2517, allocations: 6.209 MB / 0.7567 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-05/0.2518, allocations: 19.86 kB / 0.7567 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.2522, allocations: 139.9 kB / 0.7568 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.2526, allocations: 406.3 kB / 0.7572 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/0.259, allocations: 4.658 MB / 0.7618 GB, free: 12.51 MB / 0.5606 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.2848/0.5438, allocations: 29.14 MB / 0.7902 GB, free: 71.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.5456, allocations: 1.416 MB / 0.7916 GB, free: 70.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.5472, allocations: 1.48 MB / 0.7931 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.739e-05/0.5473, allocations: 14.86 kB / 0.7931 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5473, allocations: 43.11 kB / 0.7931 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 4.018e-06/0.5473, allocations: 0 / 0.7931 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.139/0.6863, allocations: 37.24 MB / 0.8295 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.6864, allocations: 73.41 kB / 0.8296 GB, free: 51.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.6879, allocations: 1.415 MB / 0.8309 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.6881, allocations: 57.7 kB / 0.831 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.6887, allocations: 1.535 MB / 0.8325 GB, free: 48.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.6891, allocations: 0.6152 MB / 0.8331 GB, free: 48.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006117/0.6898, allocations: 387.3 kB / 0.8335 GB, free: 47.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.6898, allocations: 301.1 kB / 0.8337 GB, free: 47.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.6917, allocations: 1.788 MB / 0.8355 GB, free: 45.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.6938, allocations: 2.346 MB / 0.8378 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/0.698, allocations: 4.383 MB / 0.8421 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.698, allocations: 8 kB / 0.8421 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01499/0.713, allocations: 8.568 MB / 0.8504 GB, free: 30.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7131, allocations: 19.55 kB / 0.8505 GB, free: 30 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.7131, allocations: 20 kB / 0.8505 GB, free: 29.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/0.726, allocations: 4.662 MB / 0.855 GB, free: 25.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7271, allocations: 306.6 kB / 0.8553 GB, free: 25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03947/0.7665, allocations: 32.62 MB / 0.8872 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.7688, allocations: 143.8 kB / 0.8873 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.769, allocations: 87.98 kB / 0.8874 GB, free: 7.348 MB / 0.5762 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.002195/0.7713, allocations: 1.33 MB / 0.8887 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.7716, allocations: 197.8 kB / 0.8889 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.7883, allocations: 8.449 MB / 0.8971 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.7884, allocations: 20 kB / 0.8971 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-05/0.7885, allocations: 28 kB / 0.8972 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/0.7885, allocations: 9.797 kB / 0.8972 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02347/0.812, allocations: 12.84 MB / 0.9097 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.8121, allocations: 8 kB / 0.9097 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.8128, allocations: 167.8 kB / 0.9099 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/0.8266, allocations: 4.519 MB / 0.9143 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/0.8269, allocations: 36 kB / 0.9143 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04382/0.8708, allocations: 32.22 MB / 0.9458 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.8708, allocations: 8 kB / 0.9458 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/0.8869, allocations: 8.242 MB / 0.9539 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8881, allocations: 0.6079 MB / 0.9545 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.8886, allocations: 47.89 kB / 0.9545 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.8901, allocations: 132.3 kB / 0.9546 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/0.8908, allocations: 176.8 kB / 0.9548 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.891, allocations: 48 kB / 0.9548 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001199/0.8922, allocations: 0.9627 MB / 0.9558 GB, free: 168 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8922, allocations: 0 / 0.9558 GB, free: 168 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003088/0.8953, allocations: 1.113 MB / 0.9569 GB, free: 15.05 MB / 0.6544 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.01641/0.9117, allocations: 8.828 MB / 0.9655 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01311/0.9248, allocations: 7.081 MB / 0.9724 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.9249, allocations: 192 / 0.9724 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009466/0.9344, allocations: 4.353 MB / 0.9767 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.9372, allocations: 0.521 MB / 0.9772 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/0.9946, allocations: 35.23 MB / 1.012 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/0.9982, allocations: 2.723 MB / 1.014 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00111/0.9994, allocations: 390.4 kB / 1.015 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.001, allocations: 1.218 MB / 1.016 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/1.001, allocations: 0 / 1.016 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/1.4, allocations: 82.86 MB / 1.097 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.958/11.36, allocations: 12.3 kB / 1.097 GB, free: 229.4 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)