Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001354/0.001355, 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.001364/0.001364, allocations: 199 kB / 16.54 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 282.5 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 1.108/1.108, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 102.1 kB / 0.6066 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1639, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03678/0.2008, allocations: 30.75 MB / 0.7236 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.2225, allocations: 13.6 MB / 0.7369 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.2256, allocations: 143.2 kB / 0.7371 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009068/0.2346, allocations: 3.193 MB / 0.7402 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.2436, allocations: 2.661 MB / 0.7428 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005745/0.2493, allocations: 2.022 MB / 0.7447 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.2599, allocations: 7.613 MB / 0.7522 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3103/0.5703, allocations: 8.285 MB / 0.7603 GB, free: 20.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006268/0.5766, allocations: 3.389 MB / 0.7636 GB, free: 20.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/0.5829, allocations: 3.388 MB / 0.7669 GB, free: 19.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.5851, allocations: 0.5945 MB / 0.7675 GB, free: 19.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.59, allocations: 1.494 MB / 0.7689 GB, free: 19.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004193/0.5942, allocations: 2.367 MB / 0.7712 GB, free: 19.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00567/0.5999, allocations: 2.882 MB / 0.7741 GB, free: 18.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.6128, allocations: 9.398 MB / 0.7832 GB, free: 18.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6129, allocations: 1.062 kB / 0.7832 GB, free: 18.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6129, allocations: 1.938 kB / 0.7832 GB, free: 18.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003257/0.6132, allocations: 1.547 kB / 0.7832 GB, free: 18.02 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01539/0.6286, allocations: 5.127 MB / 0.7882 GB, free: 16.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6287, allocations: 9.25 kB / 0.7882 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002154/0.6308, allocations: 0.6281 MB / 0.7889 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007161/0.638, allocations: 0.9936 MB / 0.7898 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007165/0.6452, allocations: 2.894 MB / 0.7927 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.6456, allocations: 317 kB / 0.793 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.648, allocations: 418.2 kB / 0.7934 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.6674, allocations: 6.796 MB / 0.8 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002738/0.6677, allocations: 20.34 kB / 0.8 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.6696, allocations: 182.5 kB / 0.8002 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009/0.6705, allocations: 373.5 kB / 0.8005 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.6831, allocations: 5.113 MB / 0.8055 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04078/0.7239, allocations: 30.74 MB / 0.8356 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.7264, allocations: 1.387 MB / 0.8369 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.7281, allocations: 1.326 MB / 0.8382 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.7282, allocations: 23.39 kB / 0.8382 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.7283, allocations: 47.5 kB / 0.8383 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 4.118e-06/0.7283, allocations: 0 / 0.8383 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.09146/0.8198, allocations: 23.07 MB / 0.8608 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.8199, allocations: 72.78 kB / 0.8609 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.8232, allocations: 2.067 MB / 0.8629 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.8235, allocations: 61.7 kB / 0.863 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.8252, allocations: 2.009 MB / 0.8649 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.8262, allocations: 0.6751 MB / 0.8656 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000864/0.8271, allocations: 412.1 kB / 0.866 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8273, allocations: 313 kB / 0.8663 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.8296, allocations: 1.427 MB / 0.8677 GB, free: 340 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/0.8326, allocations: 2.013 MB / 0.8696 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005313/0.8379, allocations: 3.702 MB / 0.8732 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.8379, allocations: 4 kB / 0.8732 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01172/0.8497, allocations: 5.655 MB / 0.8788 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.8497, allocations: 13.56 kB / 0.8788 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.8498, allocations: 16 kB / 0.8788 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006949/0.8567, allocations: 2.105 MB / 0.8809 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.8583, allocations: 380.2 kB / 0.8812 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04286/0.9012, allocations: 38.45 MB / 0.9188 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.9039, allocations: 127.9 kB / 0.9189 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/0.9042, allocations: 95.94 kB / 0.919 GB, free: 9.121 MB / 0.6544 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002815/0.907, allocations: 1.499 MB / 0.9204 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.9076, allocations: 284.6 kB / 0.9207 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.9185, allocations: 5.214 MB / 0.9258 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.9185, allocations: 23.94 kB / 0.9258 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/0.9186, allocations: 23.19 kB / 0.9258 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.9186, allocations: 7.969 kB / 0.9259 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.9376, allocations: 9.682 MB / 0.9353 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.9377, allocations: 8 kB / 0.9353 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.9387, allocations: 210.5 kB / 0.9355 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/0.9449, allocations: 1.855 MB / 0.9373 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.9452, allocations: 40 kB / 0.9374 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04076/0.986, allocations: 37.47 MB / 0.974 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.986, allocations: 14.59 kB / 0.974 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009795/0.9958, allocations: 4.906 MB / 0.9788 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.9974, allocations: 0.6111 MB / 0.9794 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.9979, allocations: 43.98 kB / 0.9794 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.9995, allocations: 131.8 kB / 0.9795 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/1, allocations: 201 kB / 0.9797 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1, allocations: 52 kB / 0.9798 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002115/1.002, allocations: 1.382 MB / 0.9811 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 0 / 0.9811 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003551/1.006, allocations: 1.043 MB / 0.9821 GB, free: 5.91 MB / 0.7169 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009764/1.016, allocations: 5.537 MB / 0.9875 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.028, allocations: 7.227 MB / 0.9946 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.028, allocations: 4 kB / 0.9946 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007261/1.036, allocations: 4.391 MB / 0.9989 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.041, allocations: 1.002 MB / 0.9999 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06198/1.103, allocations: 34.11 MB / 1.033 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.108, allocations: 3.125 MB / 1.036 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002132/1.11, allocations: 0.5237 MB / 1.037 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.112, allocations: 1.667 MB / 1.038 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of SimCode: time 8.42e-07/1.112, allocations: 4 kB / 1.038 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4323/1.544, allocations: 89.28 MB / 1.126 GB, free: 238.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/13.02, allocations: 11.14 kB / 1.126 GB, free: 238.2 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)