Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001313/0.001313, allocations: 106.6 kB / 16.41 MB, free: 6.402 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.001455/0.001456, allocations: 194.4 kB / 17.34 MB, free: 5.691 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7981/0.7981, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003204/0.003204, allocations: 68.09 kB / 0.5735 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1601, allocations: 78.86 MB / 0.6506 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0187/0.1788, allocations: 14.02 MB / 0.6642 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1936, allocations: 9.396 MB / 0.6734 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.1949, allocations: 55.69 kB / 0.6735 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.1996, allocations: 1.671 MB / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.2043, allocations: 1.554 MB / 0.6766 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.2064, allocations: 0.7474 MB / 0.6774 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003674/0.2101, allocations: 2.52 MB / 0.6798 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.2123, allocations: 1.411 MB / 0.6812 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.2141, allocations: 1.047 MB / 0.6822 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.2163, allocations: 1.136 MB / 0.6833 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.2167, allocations: 168 kB / 0.6835 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2183, allocations: 0.7916 MB / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.219, allocations: 0.6154 MB / 0.6849 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2201, allocations: 0.9407 MB / 0.6858 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003387/0.2235, allocations: 2.767 MB / 0.6885 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2235, allocations: 0 / 0.6885 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2235, allocations: 0 / 0.6885 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.344e-05/0.2236, allocations: 0 / 0.6885 GB, free: 12.63 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004098/0.2277, allocations: 2.199 MB / 0.6906 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2277, allocations: 12.03 kB / 0.6906 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/0.228, allocations: 190.4 kB / 0.6908 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.2403, allocations: 2.106 MB / 0.6929 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.2433, allocations: 1.299 MB / 0.6941 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.2434, allocations: 90.72 kB / 0.6942 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.2437, allocations: 123.9 kB / 0.6944 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.25, allocations: 2.675 MB / 0.697 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.2501, allocations: 7.938 kB / 0.697 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2503, allocations: 59.92 kB / 0.697 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006758/0.251, allocations: 182.1 kB / 0.6972 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008256/0.2592, allocations: 2.795 MB / 0.6999 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.2753, allocations: 10.48 MB / 0.7102 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.2828, allocations: 2.533 MB / 0.7126 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.2863, allocations: 1.276 MB / 0.7139 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.2864, allocations: 13 kB / 0.7139 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2865, allocations: 47.56 kB / 0.7139 GB, free: 1.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.2865, allocations: 0 / 0.7139 GB, free: 1.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04949/0.336, allocations: 13.39 MB / 0.727 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3361, allocations: 64.72 kB / 0.7271 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.3377, allocations: 1.121 MB / 0.7282 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.3379, allocations: 45.7 kB / 0.7282 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.3385, allocations: 0.7326 MB / 0.7289 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/0.339, allocations: 475.9 kB / 0.7294 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/0.3395, allocations: 255.5 kB / 0.7296 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3397, allocations: 361.9 kB / 0.73 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/0.3434, allocations: 1.346 MB / 0.7313 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.3472, allocations: 1.604 MB / 0.7329 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007521/0.3547, allocations: 2.994 MB / 0.7358 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3548, allocations: 0 / 0.7358 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01242/0.3672, allocations: 4.451 MB / 0.7401 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3673, allocations: 9.875 kB / 0.7401 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3673, allocations: 8 kB / 0.7402 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/0.3728, allocations: 1.435 MB / 0.7416 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.3751, allocations: 435.3 kB / 0.742 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2987/0.6738, allocations: 26.7 MB / 0.768 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.6765, allocations: 308.1 kB / 0.7683 GB, free: 70.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.6767, allocations: 62.92 kB / 0.7684 GB, free: 70.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008089/0.6775, allocations: 434.9 kB / 0.7688 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.6778, allocations: 169.4 kB / 0.769 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.6904, allocations: 4.452 MB / 0.7733 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.6905, allocations: 12.22 kB / 0.7733 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-05/0.6905, allocations: 16.25 kB / 0.7733 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.6905, allocations: 7.125 kB / 0.7734 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.7048, allocations: 6.758 MB / 0.78 GB, free: 66.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.7049, allocations: 2.156 kB / 0.78 GB, free: 66.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.7067, allocations: 380 kB / 0.7803 GB, free: 66.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/0.7112, allocations: 1.319 MB / 0.7816 GB, free: 65.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.7113, allocations: 38.56 kB / 0.7816 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.7299, allocations: 25.5 MB / 0.8065 GB, free: 42.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7299, allocations: 7.562 kB / 0.8066 GB, free: 42.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00967/0.7396, allocations: 4.218 MB / 0.8107 GB, free: 40.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007313/0.7404, allocations: 464.1 kB / 0.8111 GB, free: 39.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.7406, allocations: 32 kB / 0.8111 GB, free: 39.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.7426, allocations: 307.6 kB / 0.8114 GB, free: 39.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.743, allocations: 128.7 kB / 0.8116 GB, free: 39.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.7431, allocations: 47.97 kB / 0.8116 GB, free: 39.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007883/0.7439, allocations: 0.7526 MB / 0.8123 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7439, allocations: 0 / 0.8123 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00171/0.7456, allocations: 0.5703 MB / 0.8129 GB, free: 37.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009623/0.7553, allocations: 4.798 MB / 0.8176 GB, free: 32.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00963/0.7649, allocations: 5.144 MB / 0.8226 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.765, allocations: 3.938 kB / 0.8226 GB, free: 27.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005782/0.7707, allocations: 3.496 MB / 0.826 GB, free: 23.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7729, allocations: 0.5462 MB / 0.8266 GB, free: 23.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.8087, allocations: 19.42 MB / 0.8455 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000803/0.8095, allocations: 1.477 MB / 0.847 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001394/0.8109, allocations: 422.4 kB / 0.8474 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/0.8117, allocations: 0.6281 MB / 0.848 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.8117, allocations: 0 / 0.848 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/0.9425, allocations: 51.65 MB / 0.8984 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/19.81, allocations: 7.891 kB / 0.8984 GB, free: 13.98 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)