Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.005082/0.005082, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00136/0.001359, allocations: 201.9 kB / 16.68 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 275.2 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 104.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1695, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3532/0.5227, allocations: 34.82 MB / 0.7999 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.5443, allocations: 11.5 MB / 0.8112 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/0.5482, allocations: 163.6 kB / 0.8113 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.5607, allocations: 4.252 MB / 0.8155 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.5678, allocations: 1.99 MB / 0.8174 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007245/0.5751, allocations: 2.409 MB / 0.8198 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01158/0.5867, allocations: 8.468 MB / 0.828 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.6029, allocations: 11.12 MB / 0.8389 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006731/0.6097, allocations: 3.74 MB / 0.8425 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007247/0.617, allocations: 4.189 MB / 0.8466 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.6189, allocations: 0.7821 MB / 0.8474 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005175/0.6241, allocations: 2.028 MB / 0.8494 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004539/0.6287, allocations: 3.053 MB / 0.8524 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006632/0.6353, allocations: 3.4 MB / 0.8557 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.6524, allocations: 12.01 MB / 0.8674 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6524, allocations: 0 / 0.8674 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6525, allocations: 0 / 0.8674 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002992/0.6528, allocations: 0 / 0.8674 GB, free: 12.22 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01431/0.6671, allocations: 5.95 MB / 0.8732 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.6671, allocations: 8.031 kB / 0.8732 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00178/0.6689, allocations: 0.8051 MB / 0.874 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.6751, allocations: 1.086 MB / 0.8751 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/0.6819, allocations: 3.463 MB / 0.8785 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.6823, allocations: 419.5 kB / 0.8789 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.6836, allocations: 0.5316 MB / 0.8794 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/0.7012, allocations: 9.08 MB / 0.8883 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/0.7015, allocations: 35.7 kB / 0.8883 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006542/0.7022, allocations: 247.9 kB / 0.8885 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/0.7026, allocations: 346.8 kB / 0.8889 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.7165, allocations: 6.822 MB / 0.8955 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/0.7653, allocations: 39.85 MB / 0.9344 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.7697, allocations: 3.114 MB / 0.9375 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.7728, allocations: 1.986 MB / 0.9394 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.7729, allocations: 18 kB / 0.9394 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.773, allocations: 52.56 kB / 0.9395 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 4.128e-06/0.773, allocations: 0 / 0.9395 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02572/0.7987, allocations: 10.05 MB / 0.9493 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.7988, allocations: 69.41 kB / 0.9494 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.801, allocations: 1.526 MB / 0.9509 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.8011, allocations: 49.7 kB / 0.9509 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.8029, allocations: 2.324 MB / 0.9532 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006387/0.8036, allocations: 0.6623 MB / 0.9538 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000671/0.8042, allocations: 420 kB / 0.9542 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8044, allocations: 309.1 kB / 0.9545 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.8062, allocations: 1.176 MB / 0.9557 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.8087, allocations: 1.885 MB / 0.9575 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/0.8133, allocations: 3.371 MB / 0.9608 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.8134, allocations: 8 kB / 0.9608 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00831/0.8217, allocations: 4.59 MB / 0.9653 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.8217, allocations: 12 kB / 0.9653 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.8218, allocations: 27.98 kB / 0.9653 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/0.8258, allocations: 1.576 MB / 0.9669 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8271, allocations: 355.3 kB / 0.9672 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/0.8528, allocations: 18.6 MB / 0.9854 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.8545, allocations: 115.9 kB / 0.9855 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.8547, allocations: 99.98 kB / 0.9856 GB, free: 13.48 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003112/0.8578, allocations: 1.899 MB / 0.9874 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.8583, allocations: 234.5 kB / 0.9876 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007653/0.8659, allocations: 4.087 MB / 0.9916 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.866, allocations: 20 kB / 0.9917 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/0.866, allocations: 16 kB / 0.9917 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.8661, allocations: 19.89 kB / 0.9917 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.8822, allocations: 9.462 MB / 1.001 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.8822, allocations: 8.188 kB / 1.001 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.8831, allocations: 183.7 kB / 1.001 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/0.8867, allocations: 1.357 MB / 1.002 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.8869, allocations: 36 kB / 1.002 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/0.9102, allocations: 17.36 MB / 1.019 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.9103, allocations: 11.94 kB / 1.019 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/0.9176, allocations: 4.083 MB / 1.023 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.9187, allocations: 0.5385 MB / 1.024 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.919, allocations: 35.94 kB / 1.024 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.9199, allocations: 87.89 kB / 1.024 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/0.9204, allocations: 161.7 kB / 1.024 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.9205, allocations: 52 kB / 1.024 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001422/0.9219, allocations: 1.005 MB / 1.025 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9219, allocations: 0 / 1.025 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002783/0.9247, allocations: 0.9844 MB / 1.026 GB, free: 2.859 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007422/0.9322, allocations: 4.68 MB / 1.031 GB, free: 14.08 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00738/0.9396, allocations: 4.303 MB / 1.035 GB, free: 9.73 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9396, allocations: 0 / 1.035 GB, free: 9.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.9442, allocations: 2.682 MB / 1.038 GB, free: 7.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.9477, allocations: 0.7863 MB / 1.038 GB, free: 6.262 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/0.9949, allocations: 26.99 MB / 1.065 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004459/0.9994, allocations: 3.569 MB / 1.068 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00138/1.001, allocations: 471.8 kB / 1.069 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/1.003, allocations: 1.784 MB / 1.07 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/1.003, allocations: 0 / 1.07 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.453/1.456, allocations: 73.95 MB / 1.143 GB, free: 255.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.09, allocations: 4.25 kB / 1.143 GB, free: 255.7 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)