Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001718/0.001718, 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.001671/0.001671, allocations: 198.4 kB / 16.53 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002678/0.002678, allocations: 282.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 98.17 kB / 0.6066 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1956, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03338/0.229, allocations: 26.65 MB / 0.7196 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2435, allocations: 8.074 MB / 0.7275 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.2459, allocations: 115.4 kB / 0.7276 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00745/0.2534, allocations: 2.764 MB / 0.7303 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.2579, allocations: 1.589 MB / 0.7319 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.2624, allocations: 1.671 MB / 0.7335 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008222/0.2707, allocations: 6.138 MB / 0.7395 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.2824, allocations: 7.417 MB / 0.7468 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.2871, allocations: 2.559 MB / 0.7493 GB, free: 11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005191/0.2924, allocations: 2.835 MB / 0.752 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.2942, allocations: 0.5078 MB / 0.7525 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.2982, allocations: 1.283 MB / 0.7538 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.3019, allocations: 2.058 MB / 0.7558 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00519/0.3071, allocations: 2.373 MB / 0.7581 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.5531/0.8602, allocations: 7.999 MB / 0.7659 GB, free: 29.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.8602, allocations: 0.7969 kB / 0.7659 GB, free: 29.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8602, allocations: 1.062 kB / 0.7659 GB, free: 29.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002331/0.8605, allocations: 1 kB / 0.7659 GB, free: 29.56 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01232/0.8728, allocations: 4.234 MB / 0.77 GB, free: 27.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8729, allocations: 10.41 kB / 0.7701 GB, free: 27.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001312/0.8742, allocations: 0.5353 MB / 0.7706 GB, free: 27.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.8791, allocations: 0.8004 MB / 0.7714 GB, free: 27.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/0.8846, allocations: 2.425 MB / 0.7737 GB, free: 27.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.8849, allocations: 275 kB / 0.774 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.8861, allocations: 376.7 kB / 0.7744 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.8984, allocations: 5.989 MB / 0.7802 GB, free: 26.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.8986, allocations: 18.62 kB / 0.7802 GB, free: 26.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005937/0.8992, allocations: 156.3 kB / 0.7804 GB, free: 26.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/0.8998, allocations: 282.8 kB / 0.7806 GB, free: 26.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009952/0.9098, allocations: 4.526 MB / 0.7851 GB, free: 26.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.9375, allocations: 27.66 MB / 0.8121 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.939, allocations: 1.124 MB / 0.8132 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.9404, allocations: 1.012 MB / 0.8142 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.9405, allocations: 15.62 kB / 0.8142 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.9405, allocations: 48.47 kB / 0.8142 GB, free: 1.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 3.897e-06/0.9405, allocations: 0 / 0.8142 GB, free: 1.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.02249/0.963, allocations: 9.657 MB / 0.8236 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.9631, allocations: 64.44 kB / 0.8237 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.9651, allocations: 1.494 MB / 0.8252 GB, free: 11.15 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.9653, allocations: 52.89 kB / 0.8252 GB, free: 11.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.9666, allocations: 1.665 MB / 0.8268 GB, free: 9.637 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.9671, allocations: 468.9 kB / 0.8273 GB, free: 9.242 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/0.9676, allocations: 335.1 kB / 0.8276 GB, free: 9.055 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9678, allocations: 305.1 kB / 0.8279 GB, free: 8.754 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.9691, allocations: 0.9134 MB / 0.8288 GB, free: 8.277 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.9709, allocations: 1.471 MB / 0.8302 GB, free: 7.086 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.9741, allocations: 2.542 MB / 0.8327 GB, free: 5.359 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.9741, allocations: 7.812 kB / 0.8327 GB, free: 5.359 MB / 0.5607 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005691/0.9798, allocations: 3.288 MB / 0.8359 GB, free: 3.684 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.9798, allocations: 14.05 kB / 0.8359 GB, free: 3.684 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.9799, allocations: 19.56 kB / 0.836 GB, free: 3.684 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.9821, allocations: 0.7386 MB / 0.8367 GB, free: 3.277 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9837, allocations: 388.2 kB / 0.8371 GB, free: 3.199 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/1.001, allocations: 17.05 MB / 0.8537 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.003, allocations: 103.9 kB / 0.8538 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/1.003, allocations: 76 kB / 0.8539 GB, free: 3.172 MB / 0.5763 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.002438/1.006, allocations: 1.311 MB / 0.8552 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/1.006, allocations: 201.7 kB / 0.8554 GB, free: 1.676 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/1.012, allocations: 2.786 MB / 0.8581 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.012, allocations: 12 kB / 0.8581 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.012, allocations: 8 kB / 0.8581 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.012, allocations: 7.969 kB / 0.8581 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.023, allocations: 6.216 MB / 0.8642 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.023, allocations: 4 kB / 0.8642 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.024, allocations: 230.5 kB / 0.8644 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/1.026, allocations: 0.6736 MB / 0.8651 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.027, allocations: 42.19 kB / 0.8651 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/1.044, allocations: 16.79 MB / 0.8815 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.045, allocations: 11.75 kB / 0.8815 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/1.052, allocations: 4.005 MB / 0.8854 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.053, allocations: 450.7 kB / 0.8858 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/1.053, allocations: 47.77 kB / 0.8859 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/1.054, allocations: 79.89 kB / 0.886 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/1.054, allocations: 116.2 kB / 0.8861 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/1.054, allocations: 40 kB / 0.8861 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001496/1.056, allocations: 0.9942 MB / 0.8871 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 1.969 kB / 0.8871 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.002478/1.058, allocations: 0.6836 MB / 0.8878 GB, free: 15.14 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007143/1.066, allocations: 4.61 MB / 0.8923 GB, free: 10.44 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.006988/1.073, allocations: 4.101 MB / 0.8963 GB, free: 6.305 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.073, allocations: 4 kB / 0.8963 GB, free: 6.301 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.00353/1.076, allocations: 2.295 MB / 0.8985 GB, free: 3.922 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.08, allocations: 0.6762 MB / 0.8992 GB, free: 3.289 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/1.116, allocations: 22.73 MB / 0.9214 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/1.119, allocations: 2.672 MB / 0.924 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001616/1.12, allocations: 485.4 kB / 0.9244 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.122, allocations: 1.278 MB / 0.9257 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/1.122, allocations: 0 / 0.9257 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/1.25, allocations: 56.3 MB / 0.9807 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.97, allocations: 14.47 kB / 0.9807 GB, free: 15.23 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)