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.004822/0.004827, allocations: 99.44 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.001275/0.001275, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 286.4 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 96.47 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4711, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03771/0.5088, allocations: 30.76 MB / 0.8114 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.5322, allocations: 13.58 MB / 0.8247 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.5357, allocations: 143.4 kB / 0.8248 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008924/0.5446, allocations: 3.203 MB / 0.8279 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008717/0.5534, allocations: 2.657 MB / 0.8305 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.5594, allocations: 2.017 MB / 0.8325 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.5702, allocations: 7.624 MB / 0.8399 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.581, allocations: 8.232 MB / 0.848 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/0.5875, allocations: 3.42 MB / 0.8513 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006134/0.5937, allocations: 3.383 MB / 0.8546 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001889/0.5956, allocations: 0.5977 MB / 0.8552 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.6001, allocations: 1.494 MB / 0.8566 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003346/0.6035, allocations: 2.362 MB / 0.859 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005201/0.6087, allocations: 2.882 MB / 0.8618 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.6211, allocations: 9.492 MB / 0.871 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6212, allocations: 4 kB / 0.871 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6212, allocations: 0 / 0.871 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002463/0.6214, allocations: 0 / 0.871 GB, free: 3.074 MB / 0.6231 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.01179/0.6332, allocations: 5.259 MB / 0.8762 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6333, allocations: 12.03 kB / 0.8762 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009948/0.6343, allocations: 0.6203 MB / 0.8768 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.6403, allocations: 1.024 MB / 0.8778 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006966/0.6473, allocations: 3.097 MB / 0.8808 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.6476, allocations: 312.8 kB / 0.8811 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.6488, allocations: 431.8 kB / 0.8815 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.662, allocations: 6.785 MB / 0.8882 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.6622, allocations: 19.83 kB / 0.8882 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008214/0.6631, allocations: 188 kB / 0.8884 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009105/0.664, allocations: 372 kB / 0.8887 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00997/0.674, allocations: 5.11 MB / 0.8937 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/0.7115, allocations: 30.57 MB / 0.9236 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.7139, allocations: 1.398 MB / 0.9249 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.7158, allocations: 1.328 MB / 0.9262 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.716, allocations: 13.31 kB / 0.9262 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.716, allocations: 55.86 kB / 0.9263 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.716, allocations: 4 kB / 0.9263 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.09064/0.8067, allocations: 23.14 MB / 0.9489 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.8068, allocations: 73.41 kB / 0.949 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.8096, allocations: 2.066 MB / 0.951 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.8098, allocations: 57.7 kB / 0.951 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.8113, allocations: 2.059 MB / 0.953 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/0.8119, allocations: 0.7126 MB / 0.9537 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000753/0.8127, allocations: 412.4 kB / 0.9541 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8128, allocations: 309.1 kB / 0.9544 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.815, allocations: 1.43 MB / 0.9558 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/0.8176, allocations: 2.013 MB / 0.9578 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.8227, allocations: 3.7 MB / 0.9614 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.8227, allocations: 4 kB / 0.9614 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01143/0.8342, allocations: 5.662 MB / 0.9669 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.8342, allocations: 14.5 kB / 0.9669 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.8343, allocations: 16 kB / 0.967 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007072/0.8414, allocations: 2.096 MB / 0.969 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.843, allocations: 375.4 kB / 0.9694 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0423/0.8853, allocations: 38.46 MB / 1.007 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.8877, allocations: 131.9 kB / 1.007 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.8879, allocations: 88 kB / 1.007 GB, free: 1.113 MB / 0.7637 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.002581/0.8905, allocations: 1.5 MB / 1.009 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.891, allocations: 294.2 kB / 1.009 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.9018, allocations: 5.219 MB / 1.014 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.9019, allocations: 20 kB / 1.014 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/0.9019, allocations: 20 kB / 1.014 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.9019, allocations: 7.969 kB / 1.014 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.9195, allocations: 9.681 MB / 1.023 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.9196, allocations: 8 kB / 1.023 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.9205, allocations: 215.6 kB / 1.024 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006064/0.9265, allocations: 1.842 MB / 1.025 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.9267, allocations: 36 kB / 1.026 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04088/0.9676, allocations: 37.47 MB / 1.062 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.9676, allocations: 4 kB / 1.062 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009459/0.9771, allocations: 4.93 MB / 1.067 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.9784, allocations: 0.628 MB / 1.068 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/0.9787, allocations: 47.92 kB / 1.068 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.9801, allocations: 131.9 kB / 1.068 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3662/1.346, allocations: 190.8 kB / 1.068 GB, free: 246.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.347, allocations: 55 kB / 1.068 GB, free: 246.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002643/1.349, allocations: 1.378 MB / 1.069 GB, free: 246.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/1.349, allocations: 0.5312 kB / 1.069 GB, free: 246.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00393/1.353, allocations: 1.048 MB / 1.07 GB, free: 246.1 MB / 0.8262 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.009133/1.362, allocations: 5.553 MB / 1.076 GB, free: 245 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009457/1.372, allocations: 6.305 MB / 1.082 GB, free: 242.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/1.372, allocations: 2.344 kB / 1.082 GB, free: 242.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006476/1.378, allocations: 4.408 MB / 1.086 GB, free: 239.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.383, allocations: 0.9922 MB / 1.087 GB, free: 239.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04847/1.432, allocations: 30.8 MB / 1.117 GB, free: 225.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/1.435, allocations: 3.119 MB / 1.12 GB, free: 224.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00183/1.437, allocations: 0.5195 MB / 1.121 GB, free: 224.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.438, allocations: 1.67 MB / 1.122 GB, free: 222.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.438, allocations: 2.938 kB / 1.122 GB, free: 222.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.592, allocations: 88.17 MB / 1.209 GB, free: 138 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.69, allocations: 7.797 kB / 1.209 GB, free: 138 MB / 0.8262 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)