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.004664/0.004664, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001053/0.001053, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 294.1 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8866/0.8866, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 99.89 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1366, allocations: 86.96 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3122/0.4489, allocations: 30.75 MB / 0.7959 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.4686, allocations: 13.58 MB / 0.8092 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.4719, allocations: 142.7 kB / 0.8093 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00843/0.4803, allocations: 3.199 MB / 0.8125 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00797/0.4883, allocations: 2.766 MB / 0.8152 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.4935, allocations: 2.015 MB / 0.8171 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00989/0.5034, allocations: 7.649 MB / 0.8246 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009177/0.5126, allocations: 8.227 MB / 0.8326 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.5182, allocations: 3.467 MB / 0.836 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004857/0.5231, allocations: 3.392 MB / 0.8393 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009458/0.5241, allocations: 0.5956 MB / 0.8399 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.5272, allocations: 1.493 MB / 0.8414 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.5293, allocations: 2.359 MB / 0.8437 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.5331, allocations: 2.885 MB / 0.8465 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.5437, allocations: 9.484 MB / 0.8558 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5437, allocations: 4 kB / 0.8558 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5437, allocations: 0 / 0.8558 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002296/0.544, allocations: 0 / 0.8558 GB, free: 8.027 MB / 0.6075 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.01152/0.5555, allocations: 5.266 MB / 0.8609 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5555, allocations: 12.03 kB / 0.8609 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009216/0.5565, allocations: 0.6164 MB / 0.8615 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.5619, allocations: 1.024 MB / 0.8625 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.5682, allocations: 3.101 MB / 0.8655 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.5684, allocations: 320.4 kB / 0.8659 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008064/0.5692, allocations: 419.9 kB / 0.8663 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009591/0.5788, allocations: 6.787 MB / 0.8729 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.5789, allocations: 23.83 kB / 0.8729 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.5794, allocations: 191.9 kB / 0.8731 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007852/0.5802, allocations: 372 kB / 0.8734 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007206/0.5874, allocations: 5.11 MB / 0.8784 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02939/0.6168, allocations: 30.56 MB / 0.9083 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.6186, allocations: 1.399 MB / 0.9096 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.6202, allocations: 1.335 MB / 0.9109 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.6202, allocations: 13.31 kB / 0.911 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.6203, allocations: 47.88 kB / 0.911 GB, free: 12.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.166e-06/0.6203, allocations: 4 kB / 0.911 GB, free: 12.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08146/0.7018, allocations: 23.14 MB / 0.9336 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.7019, allocations: 73.41 kB / 0.9337 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.7044, allocations: 2.063 MB / 0.9357 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.7047, allocations: 65.7 kB / 0.9358 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.7059, allocations: 2.059 MB / 0.9378 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005631/0.7064, allocations: 0.7089 MB / 0.9385 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/0.7071, allocations: 408.4 kB / 0.9388 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.7072, allocations: 308.9 kB / 0.9391 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.709, allocations: 1.433 MB / 0.9405 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.7113, allocations: 2.01 MB / 0.9425 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.7158, allocations: 3.7 MB / 0.9461 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.7158, allocations: 4 kB / 0.9461 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01029/0.7261, allocations: 5.682 MB / 0.9517 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.7262, allocations: 12 kB / 0.9517 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.7262, allocations: 16 kB / 0.9517 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006492/0.7327, allocations: 2.076 MB / 0.9537 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.7342, allocations: 387.3 kB / 0.9541 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0363/0.7705, allocations: 38.46 MB / 0.9917 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.7729, allocations: 123.9 kB / 0.9918 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.7731, allocations: 92 kB / 0.9919 GB, free: 6.055 MB / 0.7481 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.002248/0.7753, allocations: 1.501 MB / 0.9933 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.7758, allocations: 298.2 kB / 0.9936 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009463/0.7853, allocations: 5.219 MB / 0.9987 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.7853, allocations: 20 kB / 0.9987 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/0.7854, allocations: 20 kB / 0.9987 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.7854, allocations: 11.95 kB / 0.9988 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.8021, allocations: 9.673 MB / 1.008 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.8021, allocations: 8 kB / 1.008 GB, free: 5.016 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.803, allocations: 215.6 kB / 1.008 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005556/0.8086, allocations: 1.85 MB / 1.01 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.8087, allocations: 39.94 kB / 1.01 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03467/0.8434, allocations: 37.46 MB / 1.047 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.8435, allocations: 11.94 kB / 1.047 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00875/0.8522, allocations: 4.934 MB / 1.052 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.8537, allocations: 0.6241 MB / 1.052 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.8543, allocations: 51.92 kB / 1.052 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.8559, allocations: 123.8 kB / 1.052 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/0.8565, allocations: 193.6 kB / 1.053 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8566, allocations: 56 kB / 1.053 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001843/0.8585, allocations: 1.386 MB / 1.054 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8585, allocations: 0 / 1.054 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003132/0.8616, allocations: 1.043 MB / 1.055 GB, free: 2.27 MB / 0.8106 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.008456/0.8701, allocations: 5.55 MB / 1.06 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009454/0.8796, allocations: 6.311 MB / 1.067 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.8796, allocations: 0 / 1.067 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006383/0.886, allocations: 4.41 MB / 1.071 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/0.8905, allocations: 0.9962 MB / 1.072 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3342/1.225, allocations: 30.79 MB / 1.102 GB, free: 258.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.228, allocations: 3.125 MB / 1.105 GB, free: 257.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00161/1.23, allocations: 0.5228 MB / 1.106 GB, free: 257.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.231, allocations: 1.671 MB / 1.107 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/1.231, allocations: 0.625 kB / 1.107 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.375, allocations: 88.15 MB / 1.193 GB, free: 203 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.1, allocations: 11.72 kB / 1.193 GB, free: 202.9 MB / 0.8419 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)