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.005078/0.005078, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 286.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 99.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1686, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.3182/0.4869, allocations: 9.997 MB / 0.7757 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004494/0.4914, allocations: 3.047 MB / 0.7787 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.4919, allocations: 33.31 kB / 0.7787 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.4935, allocations: 0.6889 MB / 0.7794 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.4949, allocations: 0.6894 MB / 0.78 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.4963, allocations: 0.6377 MB / 0.7807 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.4988, allocations: 2.731 MB / 0.7833 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.5013, allocations: 2.538 MB / 0.7858 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.5031, allocations: 1.127 MB / 0.7869 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.5054, allocations: 1.378 MB / 0.7883 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.5058, allocations: 218.1 kB / 0.7885 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.507, allocations: 494.6 kB / 0.7889 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009249/0.5079, allocations: 0.9788 MB / 0.7899 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.5089, allocations: 1.017 MB / 0.7909 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.5125, allocations: 3.418 MB / 0.7942 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5125, allocations: 1.25 kB / 0.7942 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5125, allocations: 0 / 0.7942 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.431e-05/0.5126, allocations: 0 / 0.7942 GB, free: 4.297 MB / 0.5606 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.003576/0.5162, allocations: 1.993 MB / 0.7962 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5162, allocations: 10.58 kB / 0.7962 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/0.5166, allocations: 253.3 kB / 0.7964 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.5226, allocations: 0.889 MB / 0.7973 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.5253, allocations: 1.168 MB / 0.7984 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5255, allocations: 110.1 kB / 0.7985 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.526, allocations: 139.7 kB / 0.7987 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.5312, allocations: 3.021 MB / 0.8016 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.5312, allocations: 2.219 kB / 0.8016 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.5314, allocations: 66.61 kB / 0.8017 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.5317, allocations: 176.5 kB / 0.8018 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.5361, allocations: 2.608 MB / 0.8044 GB, free: 15.92 MB / 0.5762 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.01779/0.5539, allocations: 13.51 MB / 0.8176 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.556, allocations: 1.297 MB / 0.8189 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.5575, allocations: 1.048 MB / 0.8199 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.5576, allocations: 9.938 kB / 0.8199 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5577, allocations: 38.12 kB / 0.8199 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 7.133e-06/0.5577, allocations: 0 / 0.8199 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.07714/0.6348, allocations: 19.42 MB / 0.8389 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.6349, allocations: 72.72 kB / 0.839 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.6363, allocations: 0.9222 MB / 0.8399 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.6365, allocations: 53.64 kB / 0.8399 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.637, allocations: 0.7424 MB / 0.8406 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.6375, allocations: 0.5035 MB / 0.8411 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000629/0.6382, allocations: 287.5 kB / 0.8414 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6384, allocations: 353.9 kB / 0.8417 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.6404, allocations: 1.339 MB / 0.843 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.6427, allocations: 1.66 MB / 0.8447 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/0.6472, allocations: 3.089 MB / 0.8477 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6473, allocations: 0 / 0.8477 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01249/0.6598, allocations: 5.645 MB / 0.8532 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.6598, allocations: 15.41 kB / 0.8532 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.6598, allocations: 8 kB / 0.8532 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009516/0.6694, allocations: 2.716 MB / 0.8559 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.6703, allocations: 195.7 kB / 0.8561 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04017/0.7105, allocations: 25.74 MB / 0.8812 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.7122, allocations: 91.95 kB / 0.8813 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.7126, allocations: 56.12 kB / 0.8813 GB, free: 11.79 MB / 0.6387 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.001468/0.7141, allocations: 0.7393 MB / 0.8821 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.7145, allocations: 123.2 kB / 0.8822 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.7272, allocations: 5.392 MB / 0.8874 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7273, allocations: 16 kB / 0.8875 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.306e-05/0.7274, allocations: 20 kB / 0.8875 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.7274, allocations: 7.969 kB / 0.8875 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.7458, allocations: 8.693 MB / 0.896 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.7458, allocations: 4 kB / 0.896 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.7464, allocations: 119.8 kB / 0.8961 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009328/0.7557, allocations: 2.582 MB / 0.8986 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/0.756, allocations: 32 kB / 0.8986 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03932/0.7954, allocations: 24.18 MB / 0.9223 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7954, allocations: 4 kB / 0.9223 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.8075, allocations: 5.249 MB / 0.9274 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8085, allocations: 492.2 kB / 0.9279 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.8088, allocations: 35.98 kB / 0.9279 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8099, allocations: 71.91 kB / 0.928 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005202/0.8105, allocations: 125 kB / 0.9281 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.8106, allocations: 36 kB / 0.9281 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009787/0.8116, allocations: 0.6434 MB / 0.9287 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.194e-06/0.8116, allocations: 0 / 0.9287 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002491/0.8141, allocations: 0.7267 MB / 0.9295 GB, free: 9.688 MB / 0.6856 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.01212/0.8262, allocations: 5.843 MB / 0.9352 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007997/0.8342, allocations: 4.216 MB / 0.9393 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.8343, allocations: 0 / 0.9393 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005816/0.8401, allocations: 2.728 MB / 0.9419 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.8418, allocations: 222.5 kB / 0.9422 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04335/0.8852, allocations: 21.47 MB / 0.9631 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.8874, allocations: 1.7 MB / 0.9648 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009129/0.8884, allocations: 325.4 kB / 0.9651 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008323/0.8892, allocations: 0.5323 MB / 0.9656 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.8892, allocations: 0 / 0.9656 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.9958, allocations: 52.72 MB / 1.017 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.79, allocations: 10.31 kB / 1.017 GB, free: 15.66 MB / 0.7794 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)