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.007166/0.007166, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00167/0.001671, allocations: 192.7 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 277.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 100.5 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3917, allocations: 86.98 MB / 0.7659 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03174/0.4235, allocations: 30.74 MB / 0.7959 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.4443, allocations: 13.6 MB / 0.8092 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.4474, allocations: 147.2 kB / 0.8094 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007789/0.4552, allocations: 3.195 MB / 0.8125 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.4622, allocations: 2.762 MB / 0.8152 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.4671, allocations: 2.014 MB / 0.8172 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009212/0.4764, allocations: 7.638 MB / 0.8246 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.4868, allocations: 8.221 MB / 0.8326 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0053/0.4922, allocations: 3.47 MB / 0.836 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005413/0.4976, allocations: 3.391 MB / 0.8393 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.4992, allocations: 0.5977 MB / 0.8399 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.5029, allocations: 1.49 MB / 0.8414 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.5059, allocations: 2.366 MB / 0.8437 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004773/0.5107, allocations: 2.882 MB / 0.8465 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.5221, allocations: 9.496 MB / 0.8558 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5221, allocations: 8 kB / 0.8558 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5221, allocations: 0 / 0.8558 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002585/0.5224, allocations: 0 / 0.8558 GB, free: 7.609 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.01101/0.5334, allocations: 5.262 MB / 0.8609 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5334, allocations: 16.03 kB / 0.8609 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/0.5348, allocations: 0.6164 MB / 0.8615 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/0.5406, allocations: 1.016 MB / 0.8625 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005764/0.5463, allocations: 3.093 MB / 0.8656 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.5466, allocations: 316.8 kB / 0.8659 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009374/0.5475, allocations: 423.8 kB / 0.8663 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.5593, allocations: 6.791 MB / 0.8729 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/0.5595, allocations: 23.83 kB / 0.8729 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006063/0.5601, allocations: 184 kB / 0.8731 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008615/0.561, allocations: 372 kB / 0.8734 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008413/0.5694, allocations: 5.114 MB / 0.8784 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03012/0.5995, allocations: 30.57 MB / 0.9083 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.6015, allocations: 1.395 MB / 0.9097 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.6032, allocations: 1.335 MB / 0.911 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.6033, allocations: 21.25 kB / 0.911 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.6033, allocations: 43.88 kB / 0.911 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/0.6033, allocations: 4 kB / 0.911 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08762/0.691, allocations: 23.14 MB / 0.9336 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.691, allocations: 69.41 kB / 0.9337 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.6942, allocations: 2.066 MB / 0.9357 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.6945, allocations: 61.7 kB / 0.9358 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.6959, allocations: 2.059 MB / 0.9378 GB, free: 212 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/0.6966, allocations: 0.7128 MB / 0.9385 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008381/0.6974, allocations: 412.4 kB / 0.9389 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.6975, allocations: 308.9 kB / 0.9392 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.6996, allocations: 1.43 MB / 0.9406 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.702, allocations: 2.013 MB / 0.9425 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.7068, allocations: 3.696 MB / 0.9461 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.7069, allocations: 8 kB / 0.9461 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01114/0.7181, allocations: 5.667 MB / 0.9517 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.7181, allocations: 16.03 kB / 0.9517 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.7182, allocations: 16 kB / 0.9517 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006378/0.7245, allocations: 2.083 MB / 0.9537 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.726, allocations: 379.4 kB / 0.9541 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3563/1.082, allocations: 38.45 MB / 0.9916 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.084, allocations: 125.9 kB / 0.9918 GB, free: 163.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.085, allocations: 90.41 kB / 0.9919 GB, free: 163.6 MB / 0.7325 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.001762/1.086, allocations: 1.509 MB / 0.9933 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/1.087, allocations: 297.1 kB / 0.9936 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/1.095, allocations: 5.214 MB / 0.9987 GB, free: 160.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.095, allocations: 22.31 kB / 0.9987 GB, free: 160.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.095, allocations: 19.16 kB / 0.9987 GB, free: 160.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.095, allocations: 15.11 kB / 0.9988 GB, free: 160.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.107, allocations: 9.674 MB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.107, allocations: 7.625 kB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/1.108, allocations: 218.5 kB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/1.112, allocations: 1.839 MB / 1.01 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.112, allocations: 43.19 kB / 1.01 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.138, allocations: 37.46 MB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.138, allocations: 16 kB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/1.145, allocations: 4.926 MB / 1.052 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.146, allocations: 0.6279 MB / 1.052 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/1.147, allocations: 43.98 kB / 1.052 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.148, allocations: 131.8 kB / 1.052 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005473/1.148, allocations: 189.6 kB / 1.053 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.149, allocations: 60 kB / 1.053 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001423/1.15, allocations: 1.378 MB / 1.054 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.15, allocations: 0 / 1.054 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002841/1.153, allocations: 1.051 MB / 1.055 GB, free: 108.2 MB / 0.7325 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.006987/1.16, allocations: 5.551 MB / 1.06 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007451/1.167, allocations: 6.305 MB / 1.067 GB, free: 95.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.167, allocations: 4 kB / 1.067 GB, free: 95.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004928/1.172, allocations: 4.409 MB / 1.071 GB, free: 91.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.176, allocations: 0.9952 MB / 1.072 GB, free: 90.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/1.216, allocations: 30.79 MB / 1.102 GB, free: 58.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.219, allocations: 3.128 MB / 1.105 GB, free: 55.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001485/1.22, allocations: 0.5198 MB / 1.106 GB, free: 54.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.221, allocations: 1.675 MB / 1.107 GB, free: 53.23 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/1.221, allocations: 0 / 1.107 GB, free: 53.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/1.454, allocations: 88.18 MB / 1.193 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/18.03, allocations: 0.6562 kB / 1.193 GB, free: 14.26 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)