Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001053/0.001053, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001115/0.001115, allocations: 186.5 kB / 17.2 MB, free: 5.574 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.781/0.781, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.05 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3218, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005488/0.3274, allocations: 4.881 MB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.3308, allocations: 2.481 MB / 0.5745 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.3312, allocations: 24.41 kB / 0.5745 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3322, allocations: 404.7 kB / 0.5749 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008804/0.3331, allocations: 444.5 kB / 0.5753 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.334, allocations: 397 kB / 0.5757 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.3349, allocations: 0.9192 MB / 0.5766 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.3354, allocations: 369.7 kB / 0.5769 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3358, allocations: 332.9 kB / 0.5773 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.3362, allocations: 352.4 kB / 0.5776 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.3363, allocations: 39.5 kB / 0.5776 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.337, allocations: 405.9 kB / 0.578 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.3372, allocations: 180.9 kB / 0.5782 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3374, allocations: 322.4 kB / 0.5785 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009923/0.3384, allocations: 0.873 MB / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3385, allocations: 0 / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3385, allocations: 0 / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3385, allocations: 3.938 kB / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001175/0.3397, allocations: 0.9459 MB / 0.5803 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3397, allocations: 10.42 kB / 0.5803 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.418e-05/0.3398, allocations: 101.7 kB / 0.5804 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.341, allocations: 206 kB / 0.5806 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.3416, allocations: 0.4894 MB / 0.5811 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3416, allocations: 36.11 kB / 0.5811 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.3417, allocations: 44.69 kB / 0.5811 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.3426, allocations: 0.849 MB / 0.582 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3427, allocations: 10.64 kB / 0.582 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.3427, allocations: 23.89 kB / 0.582 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.3428, allocations: 67.23 kB / 0.5821 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/0.3436, allocations: 0.5672 MB / 0.5826 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3469, allocations: 5.653 MB / 0.5881 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.3475, allocations: 454.5 kB / 0.5886 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.3477, allocations: 235.1 kB / 0.5888 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.3478, allocations: 3.812 kB / 0.5888 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3478, allocations: 39.03 kB / 0.5888 GB, free: 17.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.3478, allocations: 0 / 0.5888 GB, free: 17.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002274/0.3501, allocations: 1.51 MB / 0.5903 GB, free: 16.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3501, allocations: 54.47 kB / 0.5904 GB, free: 16.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.3506, allocations: 0.5066 MB / 0.5909 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3506, allocations: 34.7 kB / 0.5909 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3508, allocations: 363.2 kB / 0.5912 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.3509, allocations: 115.7 kB / 0.5914 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.351, allocations: 111.8 kB / 0.5915 GB, free: 15.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.3511, allocations: 367 kB / 0.5918 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.3514, allocations: 193.5 kB / 0.592 GB, free: 14.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.3517, allocations: 450.2 kB / 0.5924 GB, free: 14.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.3524, allocations: 0.6942 MB / 0.5931 GB, free: 13.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3524, allocations: 2.531 kB / 0.5931 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001115/0.3535, allocations: 0.8072 MB / 0.5939 GB, free: 13.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3535, allocations: 9.188 kB / 0.5939 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.3536, allocations: 12.75 kB / 0.5939 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.354, allocations: 157.7 kB / 0.5941 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.3544, allocations: 126.5 kB / 0.5942 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3571, allocations: 4.34 MB / 0.5984 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3575, allocations: 33.22 kB / 0.5985 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.3575, allocations: 32.16 kB / 0.5985 GB, free: 8.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.3578, allocations: 222.5 kB / 0.5987 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.3579, allocations: 58.34 kB / 0.5987 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3589, allocations: 0.5981 MB / 0.5993 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.359, allocations: 7.75 kB / 0.5993 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.359, allocations: 2.562 kB / 0.5993 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.359, allocations: 3.984 kB / 0.5993 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.3605, allocations: 1.261 MB / 0.6006 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3606, allocations: 0 / 0.6006 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.3608, allocations: 59.89 kB / 0.6006 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.3611, allocations: 144.3 kB / 0.6008 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.3611, allocations: 15.94 kB / 0.6008 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.3632, allocations: 4.328 MB / 0.605 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3633, allocations: 3.938 kB / 0.605 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.364, allocations: 0.7078 MB / 0.6057 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3642, allocations: 168.3 kB / 0.6059 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.3643, allocations: 8 kB / 0.6059 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3645, allocations: 23.97 kB / 0.6059 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.3646, allocations: 31.84 kB / 0.6059 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3646, allocations: 12 kB / 0.6059 GB, free: 1.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.3649, allocations: 342.8 kB / 0.6063 GB, free: 0.793 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3649, allocations: 0 / 0.6063 GB, free: 0.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006051/0.3655, allocations: 144 kB / 0.6064 GB, free: 0.6523 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.3666, allocations: 1.262 MB / 0.6076 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.3679, allocations: 1.083 MB / 0.6087 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.368, allocations: 0 / 0.6087 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.3687, allocations: 0.7385 MB / 0.6094 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.3697, allocations: 209.5 kB / 0.6096 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.3754, allocations: 5.248 MB / 0.6147 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3759, allocations: 0.9059 MB / 0.6156 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.3762, allocations: 117.3 kB / 0.6157 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.3765, allocations: 195.4 kB / 0.6159 GB, free: 6.266 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3765, allocations: 4 kB / 0.6159 GB, free: 6.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4112, allocations: 12.68 MB / 0.6283 GB, free: 9.883 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/9.301, allocations: 3.984 kB / 0.6283 GB, free: 9.879 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_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_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)