Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_dev_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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001349/0.001349, allocations: 196.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5164/0.5164, allocations: 91.89 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79.88 kB / 0.502 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3176, allocations: 71.28 MB / 0.5716 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.005293/0.3229, allocations: 5.257 MB / 0.5767 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.3259, allocations: 1.62 MB / 0.5783 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.3265, allocations: 9.469 kB / 0.5783 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.327, allocations: 181.3 kB / 0.5785 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3285, allocations: 0.6289 MB / 0.5791 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.3294, allocations: 498 kB / 0.5796 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009236/0.3304, allocations: 1.048 MB / 0.5806 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.3307, allocations: 268.8 kB / 0.5808 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.3312, allocations: 451.3 kB / 0.5813 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.3318, allocations: 0.5933 MB / 0.5819 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.3319, allocations: 86.5 kB / 0.5819 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.3324, allocations: 219.9 kB / 0.5821 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3325, allocations: 235.5 kB / 0.5824 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.3329, allocations: 0.4915 MB / 0.5829 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3339, allocations: 1.211 MB / 0.584 GB, free: 29.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.334, allocations: 6.5 kB / 0.584 GB, free: 29.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.334, allocations: 0 / 0.584 GB, free: 29.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.334, allocations: 0 / 0.584 GB, free: 29.88 MB / 430.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.006958/0.341, allocations: 2.135 MB / 0.5861 GB, free: 28.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.341, allocations: 9.844 kB / 0.5861 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.3412, allocations: 105.2 kB / 0.5862 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/0.3454, allocations: 0.6429 MB / 0.5869 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.3463, allocations: 0.6419 MB / 0.5875 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.3465, allocations: 177 kB / 0.5877 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3466, allocations: 63.94 kB / 0.5877 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3484, allocations: 0.8683 MB / 0.5886 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3485, allocations: 0 / 0.5886 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.3485, allocations: 20.94 kB / 0.5886 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3486, allocations: 18.72 kB / 0.5886 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.3505, allocations: 0.8992 MB / 0.5895 GB, free: 27.39 MB / 430.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.004493/0.355, allocations: 2.431 MB / 0.5919 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3566, allocations: 1.057 MB / 0.5929 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3579, allocations: 0.6348 MB / 0.5935 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.271e-05/0.358, allocations: 17.09 kB / 0.5935 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.358, allocations: 39.09 kB / 0.5936 GB, free: 25.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=79): time 3.506e-06/0.358, allocations: 0 / 0.5936 GB, free: 25.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=79): time 0.02139/0.3794, allocations: 5.292 MB / 0.5987 GB, free: 24.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3795, allocations: 60.5 kB / 0.5988 GB, free: 24.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3808, allocations: 0.7437 MB / 0.5995 GB, free: 23.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.381, allocations: 41.11 kB / 0.5996 GB, free: 23.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.3813, allocations: 397.4 kB / 0.5999 GB, free: 23.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3816, allocations: 283.9 kB / 0.6002 GB, free: 23.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.382, allocations: 176.8 kB / 0.6004 GB, free: 23.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.382, allocations: 345.8 kB / 0.6007 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.3834, allocations: 0.6048 MB / 0.6013 GB, free: 22.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3849, allocations: 0.7071 MB / 0.602 GB, free: 22.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.3878, allocations: 1.317 MB / 0.6033 GB, free: 21.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3879, allocations: 1.375 kB / 0.6033 GB, free: 21.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01228/0.4001, allocations: 3.557 MB / 0.6067 GB, free: 20.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4002, allocations: 5.312 kB / 0.6068 GB, free: 20.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4002, allocations: 6.281 kB / 0.6068 GB, free: 20.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/0.4061, allocations: 1.505 MB / 0.6082 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.4071, allocations: 162.4 kB / 0.6084 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.426, allocations: 8.173 MB / 0.6164 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4273, allocations: 142 kB / 0.6165 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.4274, allocations: 31.23 kB / 0.6165 GB, free: 15.93 MB / 430.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.0004097/0.4278, allocations: 226.6 kB / 0.6167 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.428, allocations: 95.03 kB / 0.6168 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.4381, allocations: 3.289 MB / 0.62 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.4381, allocations: 11.94 kB / 0.6201 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4381, allocations: 7.984 kB / 0.6201 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.4382, allocations: 3.984 kB / 0.6201 GB, free: 12.61 MB / 430.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.01161/0.4498, allocations: 4.61 MB / 0.6246 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4498, allocations: 0 / 0.6246 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.4504, allocations: 95.88 kB / 0.6247 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004949/0.4554, allocations: 1.458 MB / 0.6261 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.4556, allocations: 12 kB / 0.6261 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.4697, allocations: 7.053 MB / 0.633 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4698, allocations: 4 kB / 0.633 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.4827, allocations: 4.101 MB / 0.637 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.483, allocations: 187.7 kB / 0.6372 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.4832, allocations: 16.03 kB / 0.6372 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.4841, allocations: 91.83 kB / 0.6373 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.4846, allocations: 168.3 kB / 0.6374 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/0.4847, allocations: 27.98 kB / 0.6375 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006019/0.4853, allocations: 0.5029 MB / 0.638 GB, free: 9.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4853, allocations: 0 / 0.638 GB, free: 9.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001079/0.4864, allocations: 367.7 kB / 0.6383 GB, free: 9.633 MB / 446.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.01314/0.4995, allocations: 4.68 MB / 0.6429 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006063/0.5056, allocations: 2.119 MB / 0.6449 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5057, allocations: 0 / 0.6449 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/0.5096, allocations: 1.307 MB / 0.6462 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.5104, allocations: 79.3 kB / 0.6463 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/0.543, allocations: 13.21 MB / 0.6592 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.5436, allocations: 1.021 MB / 0.6602 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004353/0.5441, allocations: 89.47 kB / 0.6603 GB, free: 2.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.5446, allocations: 339.3 kB / 0.6606 GB, free: 2.402 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5446, allocations: 0 / 0.6606 GB, free: 2.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08584/0.6305, allocations: 28.27 MB / 0.6882 GB, free: 6.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12, allocations: 15.73 kB / 0.6882 GB, free: 6.27 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1)