Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001117/0.001117, 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.001142/0.001142, allocations: 196.6 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 283.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 94.94 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01146/0.1466, allocations: 10 MB / 0.6901 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.1518, allocations: 3.044 MB / 0.693 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000754/0.1525, allocations: 35.81 kB / 0.6931 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1544, allocations: 0.688 MB / 0.6937 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.156, allocations: 0.6883 MB / 0.6944 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.1575, allocations: 0.638 MB / 0.695 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.1606, allocations: 2.734 MB / 0.6977 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.1635, allocations: 2.546 MB / 0.7002 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.1651, allocations: 1.118 MB / 0.7013 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.1671, allocations: 1.379 MB / 0.7026 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005034/0.1676, allocations: 216 kB / 0.7028 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1687, allocations: 495.4 kB / 0.7033 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.1698, allocations: 0.9824 MB / 0.7043 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.1709, allocations: 1.015 MB / 0.7053 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.1736, allocations: 3.397 MB / 0.7086 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1736, allocations: 0 / 0.7086 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1736, allocations: 0 / 0.7086 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.1736, allocations: 0 / 0.7086 GB, free: 3.531 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003013/0.1766, allocations: 1.94 MB / 0.7105 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1767, allocations: 12.03 kB / 0.7105 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002813/0.177, allocations: 252.7 kB / 0.7107 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.1826, allocations: 0.8883 MB / 0.7116 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1844, allocations: 1.114 MB / 0.7127 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.1844, allocations: 111.3 kB / 0.7128 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.1847, allocations: 148.3 kB / 0.7129 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.1887, allocations: 3.025 MB / 0.7159 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.1887, allocations: 8 kB / 0.7159 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.1889, allocations: 63.97 kB / 0.716 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.1891, allocations: 179 kB / 0.7161 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1927, allocations: 2.604 MB / 0.7187 GB, free: 8.984 MB / 0.5137 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.0144/0.2071, allocations: 13.56 MB / 0.7319 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.2089, allocations: 1.292 MB / 0.7332 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.2102, allocations: 1.058 MB / 0.7342 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.2103, allocations: 8.656 kB / 0.7342 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2103, allocations: 39.22 kB / 0.7342 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 4.759e-06/0.2103, allocations: 0 / 0.7342 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07336/0.2837, allocations: 19.37 MB / 0.7532 GB, free: 4.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2837, allocations: 68.72 kB / 0.7532 GB, free: 4.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2849, allocations: 0.9183 MB / 0.7541 GB, free: 3.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.285, allocations: 53.7 kB / 0.7542 GB, free: 3.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.2854, allocations: 0.7244 MB / 0.7549 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.2858, allocations: 492.9 kB / 0.7554 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.2864, allocations: 291.5 kB / 0.7556 GB, free: 1.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2865, allocations: 353.9 kB / 0.756 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.2883, allocations: 1.331 MB / 0.7573 GB, free: 120 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.2902, allocations: 1.663 MB / 0.7589 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.2938, allocations: 3.088 MB / 0.7619 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.2938, allocations: 0 / 0.7619 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01102/0.3049, allocations: 5.643 MB / 0.7674 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3049, allocations: 11.94 kB / 0.7674 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3049, allocations: 11.94 kB / 0.7674 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008557/0.3135, allocations: 2.735 MB / 0.7701 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.3142, allocations: 195.7 kB / 0.7703 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2952/0.6094, allocations: 25.73 MB / 0.7954 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.6109, allocations: 95.16 kB / 0.7955 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.611, allocations: 55.34 kB / 0.7956 GB, free: 77.91 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009631/0.612, allocations: 0.7392 MB / 0.7963 GB, free: 77.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.6122, allocations: 113 kB / 0.7964 GB, free: 77.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.6228, allocations: 5.399 MB / 0.8017 GB, free: 75.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6229, allocations: 14.09 kB / 0.8017 GB, free: 75.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/0.6229, allocations: 22.16 kB / 0.8017 GB, free: 75.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.623, allocations: 7.859 kB / 0.8017 GB, free: 75.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.6374, allocations: 8.636 MB / 0.8101 GB, free: 71.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.6375, allocations: 7.219 kB / 0.8102 GB, free: 71.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.6379, allocations: 115.3 kB / 0.8103 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007346/0.6453, allocations: 2.563 MB / 0.8128 GB, free: 70.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6454, allocations: 35.75 kB / 0.8128 GB, free: 70.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/0.67, allocations: 22.99 MB / 0.8353 GB, free: 50.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.67, allocations: 11.88 kB / 0.8353 GB, free: 50.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008897/0.6789, allocations: 5.122 MB / 0.8403 GB, free: 44.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.6798, allocations: 479.5 kB / 0.8407 GB, free: 44.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.68, allocations: 31.92 kB / 0.8408 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.6809, allocations: 75.91 kB / 0.8408 GB, free: 44.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/0.6814, allocations: 126.1 kB / 0.8409 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.6815, allocations: 39.94 kB / 0.841 GB, free: 44.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006315/0.6821, allocations: 0.6434 MB / 0.8416 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6821, allocations: 0 / 0.8416 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002109/0.6842, allocations: 0.7188 MB / 0.8423 GB, free: 42.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009339/0.6936, allocations: 5.722 MB / 0.8479 GB, free: 37.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006648/0.7002, allocations: 4.723 MB / 0.8525 GB, free: 32.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.7003, allocations: 8.188 kB / 0.8525 GB, free: 32.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/0.7046, allocations: 2.666 MB / 0.8551 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7058, allocations: 219.1 kB / 0.8553 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/0.7348, allocations: 21.84 MB / 0.8767 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.7359, allocations: 1.706 MB / 0.8783 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006562/0.7366, allocations: 327.7 kB / 0.8786 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.737, allocations: 0.5305 MB / 0.8792 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.7371, allocations: 0 / 0.8792 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.8592, allocations: 51.39 MB / 0.9293 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.464/10.32, allocations: 20.75 kB / 0.9294 GB, free: 1.406 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)