Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.006452/0.006458, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.408/1.408, allocations: 222.9 MB / 239.4 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 180.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4538/0.4538, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002393, allocations: 83.81 kB / 0.5532 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2731, allocations: 68.16 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.00486/0.278, allocations: 5.364 MB / 0.625 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2807, allocations: 1.641 MB / 0.6266 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006388/0.2814, allocations: 8 kB / 0.6266 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.2819, allocations: 186.4 kB / 0.6268 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.2835, allocations: 0.6413 MB / 0.6274 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.2844, allocations: 0.4966 MB / 0.6279 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008778/0.2853, allocations: 1.105 MB / 0.6289 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2856, allocations: 258.6 kB / 0.6292 GB, free: 468 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.286, allocations: 474 kB / 0.6296 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.2868, allocations: 0.6144 MB / 0.6302 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.287, allocations: 91.94 kB / 0.6303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.2874, allocations: 219.9 kB / 0.6305 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2877, allocations: 243 kB / 0.6308 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.2882, allocations: 0.5087 MB / 0.6313 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.2897, allocations: 1.28 MB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2897, allocations: 0 / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2897, allocations: 0 / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.2897, allocations: 0 / 0.6325 GB, free: 13.04 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.007223/0.297, allocations: 2.215 MB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.297, allocations: 8.031 kB / 0.6347 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.2972, allocations: 106.7 kB / 0.6348 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.3014, allocations: 0.6552 MB / 0.6354 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3025, allocations: 0.6551 MB / 0.6361 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.3028, allocations: 180.1 kB / 0.6362 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.3029, allocations: 60 kB / 0.6363 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.305, allocations: 0.8886 MB / 0.6372 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.305, allocations: 0 / 0.6372 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.3051, allocations: 27.94 kB / 0.6372 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.3052, allocations: 23.94 kB / 0.6372 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3074, allocations: 0.9147 MB / 0.6381 GB, free: 7.168 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.3124, allocations: 2.479 MB / 0.6405 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.3146, allocations: 1.12 MB / 0.6416 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.3161, allocations: 0.6523 MB / 0.6423 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3162, allocations: 16.98 kB / 0.6423 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3163, allocations: 39.56 kB / 0.6423 GB, free: 2.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.3163, allocations: 3.938 kB / 0.6423 GB, free: 2.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02348/0.3398, allocations: 5.545 MB / 0.6477 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3398, allocations: 60.41 kB / 0.6478 GB, free: 13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.341, allocations: 0.7631 MB / 0.6485 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.3412, allocations: 37.7 kB / 0.6486 GB, free: 12.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.3415, allocations: 409.2 kB / 0.649 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.3419, allocations: 305.4 kB / 0.6493 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.3423, allocations: 186.9 kB / 0.6494 GB, free: 11.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3425, allocations: 349.9 kB / 0.6498 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.344, allocations: 0.6194 MB / 0.6504 GB, free: 10.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3456, allocations: 0.7271 MB / 0.6511 GB, free: 9.578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.3639, allocations: 4.225 MB / 0.6552 GB, free: 5.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3639, allocations: 0 / 0.6552 GB, free: 5.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01272/0.3767, allocations: 3.591 MB / 0.6587 GB, free: 1.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3767, allocations: 11.94 kB / 0.6587 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3768, allocations: 4 kB / 0.6587 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006058/0.3828, allocations: 1.503 MB / 0.6602 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3839, allocations: 187.8 kB / 0.6604 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.4045, allocations: 8.166 MB / 0.6684 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.4059, allocations: 151.5 kB / 0.6685 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.406, allocations: 35.98 kB / 0.6685 GB, free: 7.516 MB / 478.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.4065, allocations: 222.1 kB / 0.6687 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4067, allocations: 103.3 kB / 0.6688 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.4188, allocations: 3.415 MB / 0.6722 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.4189, allocations: 11.94 kB / 0.6722 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4189, allocations: 0 / 0.6722 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.4189, allocations: 3.984 kB / 0.6722 GB, free: 3.742 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.4334, allocations: 4.773 MB / 0.6769 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.4334, allocations: 0 / 0.6769 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.434, allocations: 95.88 kB / 0.6769 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.44, allocations: 1.53 MB / 0.6784 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.4402, allocations: 16 kB / 0.6785 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.4584, allocations: 7.35 MB / 0.6856 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.4585, allocations: 4 kB / 0.6856 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.4727, allocations: 4.28 MB / 0.6898 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.473, allocations: 188.3 kB / 0.69 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.4732, allocations: 16 kB / 0.69 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.4741, allocations: 91.77 kB / 0.6901 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/0.4747, allocations: 168.8 kB / 0.6903 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/0.4748, allocations: 31.97 kB / 0.6903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006964/0.4755, allocations: 0.5146 MB / 0.6908 GB, free: 396 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4755, allocations: 0 / 0.6908 GB, free: 396 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001114/0.4767, allocations: 383.7 kB / 0.6912 GB, free: 12 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01729/0.494, allocations: 4.847 MB / 0.6959 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008495/0.5025, allocations: 2.136 MB / 0.698 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5026, allocations: 0 / 0.698 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.5075, allocations: 1.345 MB / 0.6993 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.5084, allocations: 87.23 kB / 0.6994 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04379/0.5522, allocations: 13.16 MB / 0.7122 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.553, allocations: 1.029 MB / 0.7132 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000406/0.5534, allocations: 89.62 kB / 0.7133 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.554, allocations: 371.2 kB / 0.7137 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of SimCode: time 1.283e-06/0.554, allocations: 4 kB / 0.7137 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08607/0.6401, allocations: 29.76 MB / 0.7427 GB, free: 11.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/15.87, allocations: 5.875 kB / 0.7427 GB, free: 11.04 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)