Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.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.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",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.005883/0.005883, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.284/1.284, allocations: 222.9 MB / 239.4 MB, free: 4.426 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.001396/0.001396, allocations: 192.5 kB / 289.7 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4298/0.4298, allocations: 78.53 MB / 418.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 79.89 kB / 0.5532 GB, free: 1.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3347, allocations: 68.17 MB / 0.6197 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.005304/0.3401, allocations: 5.235 MB / 0.6248 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3424, allocations: 1.607 MB / 0.6264 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.3427, allocations: 12 kB / 0.6264 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.3432, allocations: 186.4 kB / 0.6266 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3444, allocations: 0.6763 MB / 0.6273 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.3452, allocations: 492.4 kB / 0.6277 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007332/0.3459, allocations: 1.059 MB / 0.6288 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.3462, allocations: 274.4 kB / 0.629 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.3466, allocations: 454 kB / 0.6295 GB, free: 60 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.3472, allocations: 0.595 MB / 0.63 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.3474, allocations: 84 kB / 0.6301 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.3477, allocations: 211.9 kB / 0.6303 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3479, allocations: 231 kB / 0.6305 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.3483, allocations: 0.4892 MB / 0.631 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.3495, allocations: 1.245 MB / 0.6322 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3495, allocations: 4 kB / 0.6322 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3495, allocations: 0 / 0.6322 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3496, allocations: 0 / 0.6322 GB, free: 13.2 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006865/0.3564, allocations: 2.161 MB / 0.6344 GB, free: 10.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.3565, allocations: 8.031 kB / 0.6344 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.3567, allocations: 110.6 kB / 0.6345 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.3607, allocations: 0.6551 MB / 0.6351 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.3616, allocations: 0.6474 MB / 0.6357 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.3618, allocations: 180 kB / 0.6359 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.3619, allocations: 64 kB / 0.636 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.3637, allocations: 0.8613 MB / 0.6368 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3637, allocations: 0 / 0.6368 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.3638, allocations: 28 kB / 0.6368 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3638, allocations: 15.94 kB / 0.6369 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3657, allocations: 0.8952 MB / 0.6377 GB, free: 7.441 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.004105/0.3698, allocations: 2.436 MB / 0.6401 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.3715, allocations: 1.038 MB / 0.6411 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.3727, allocations: 0.6474 MB / 0.6418 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.3728, allocations: 12.64 kB / 0.6418 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3729, allocations: 47.16 kB / 0.6418 GB, free: 3.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.3729, allocations: 0 / 0.6418 GB, free: 3.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=79): time 0.02016/0.393, allocations: 5.286 MB / 0.647 GB, free: 13.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3931, allocations: 60.06 kB / 0.647 GB, free: 13.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.3942, allocations: 0.7551 MB / 0.6478 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3943, allocations: 33.7 kB / 0.6478 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.3947, allocations: 409.1 kB / 0.6482 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.395, allocations: 293.5 kB / 0.6485 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.3954, allocations: 170.6 kB / 0.6486 GB, free: 12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3956, allocations: 349.9 kB / 0.649 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.397, allocations: 0.6032 MB / 0.6496 GB, free: 11.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3985, allocations: 0.7085 MB / 0.6502 GB, free: 10.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.4014, allocations: 1.315 MB / 0.6515 GB, free: 8.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.4014, allocations: 0 / 0.6515 GB, free: 8.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01172/0.4131, allocations: 3.56 MB / 0.655 GB, free: 5.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4132, allocations: 7.984 kB / 0.655 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4132, allocations: 4 kB / 0.655 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005592/0.4188, allocations: 1.499 MB / 0.6565 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.4197, allocations: 167.8 kB / 0.6566 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.4389, allocations: 8.173 MB / 0.6646 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4404, allocations: 151.4 kB / 0.6648 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.4406, allocations: 35.98 kB / 0.6648 GB, free: 11.22 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (91): * Single equations (assignments): 90 * 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.0005822/0.4412, allocations: 225.6 kB / 0.665 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.4415, allocations: 103.3 kB / 0.6651 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.4522, allocations: 3.286 MB / 0.6683 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4523, allocations: 11.94 kB / 0.6683 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4523, allocations: 4 kB / 0.6683 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4523, allocations: 3.984 kB / 0.6683 GB, free: 7.562 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.01258/0.4649, allocations: 4.602 MB / 0.6728 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4649, allocations: 0 / 0.6728 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.4656, allocations: 99.75 kB / 0.6729 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/0.4707, allocations: 1.458 MB / 0.6744 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4708, allocations: 16 kB / 0.6744 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/0.4865, allocations: 7.044 MB / 0.6813 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4866, allocations: 4 kB / 0.6813 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.4992, allocations: 4.11 MB / 0.6853 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.4997, allocations: 184.3 kB / 0.6854 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.4999, allocations: 19.94 kB / 0.6855 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.5009, allocations: 87.83 kB / 0.6855 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/0.5014, allocations: 172.4 kB / 0.6857 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/0.5015, allocations: 16 kB / 0.6857 GB, free: 5.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007285/0.5022, allocations: 0.5107 MB / 0.6862 GB, free: 4.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5023, allocations: 0 / 0.6862 GB, free: 4.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001235/0.5035, allocations: 363.7 kB / 0.6866 GB, free: 4.594 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (48): * Single equations (assignments): 47 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/0.5163, allocations: 4.681 MB / 0.6911 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005797/0.5221, allocations: 2.084 MB / 0.6932 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5221, allocations: 4 kB / 0.6932 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003876/0.526, allocations: 1.319 MB / 0.6945 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.5269, allocations: 73.03 kB / 0.6945 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03668/0.5636, allocations: 12.87 MB / 0.7071 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009729/0.5647, allocations: 1.017 MB / 0.7081 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.5653, allocations: 89.45 kB / 0.7082 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/0.5661, allocations: 339.3 kB / 0.7085 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/0.5661, allocations: 0 / 0.7085 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/0.6373, allocations: 28.62 MB / 0.7365 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.83, allocations: 8.047 kB / 0.7365 GB, free: 1.367 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant_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_LoadTestVoltDependant.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1)