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.006364/0.006364, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001476/0.001476, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5398/0.5398, allocations: 91.9 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 87.88 kB / 0.5723 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 71.29 MB / 0.6419 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.00641/0.1287, allocations: 5.249 MB / 0.647 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.1321, allocations: 1.622 MB / 0.6486 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.1326, allocations: 8 kB / 0.6486 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.1332, allocations: 178.4 kB / 0.6488 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.1347, allocations: 0.629 MB / 0.6494 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1358, allocations: 0.4902 MB / 0.6499 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.137, allocations: 1.055 MB / 0.6509 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1374, allocations: 266.5 kB / 0.6511 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.138, allocations: 446 kB / 0.6516 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/0.1388, allocations: 0.5951 MB / 0.6522 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1389, allocations: 87.94 kB / 0.6522 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.1393, allocations: 207.9 kB / 0.6524 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.1396, allocations: 239 kB / 0.6527 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.14, allocations: 0.4931 MB / 0.6531 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1414, allocations: 1.245 MB / 0.6544 GB, free: 7.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1414, allocations: 0 / 0.6544 GB, free: 7.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1415, allocations: 0 / 0.6544 GB, free: 7.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1415, allocations: 0 / 0.6544 GB, free: 7.371 MB / 462.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.006948/0.1484, allocations: 2.169 MB / 0.6565 GB, free: 5.148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1485, allocations: 8.031 kB / 0.6565 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.1486, allocations: 114.6 kB / 0.6566 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.1528, allocations: 0.6552 MB / 0.6572 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1538, allocations: 0.6473 MB / 0.6579 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.1541, allocations: 184 kB / 0.658 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1543, allocations: 60 kB / 0.6581 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1561, allocations: 0.8575 MB / 0.6589 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1561, allocations: 0 / 0.6589 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.1562, allocations: 28 kB / 0.659 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1562, allocations: 19.88 kB / 0.659 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.1582, allocations: 0.8991 MB / 0.6599 GB, free: 1.602 MB / 462.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.004594/0.1628, allocations: 2.416 MB / 0.6622 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.1646, allocations: 1.058 MB / 0.6633 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.1659, allocations: 0.6371 MB / 0.6639 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.79e-05/0.166, allocations: 12.64 kB / 0.6639 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.166, allocations: 43.2 kB / 0.6639 GB, free: 13.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=79): time 2.995e-06/0.166, allocations: 4 kB / 0.6639 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=79): time 0.02118/0.1872, allocations: 5.278 MB / 0.6691 GB, free: 7.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.1873, allocations: 60.06 kB / 0.6691 GB, free: 7.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1885, allocations: 0.7473 MB / 0.6699 GB, free: 7.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.1888, allocations: 45.7 kB / 0.6699 GB, free: 7.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.1891, allocations: 409.1 kB / 0.6703 GB, free: 6.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.1894, allocations: 293.5 kB / 0.6706 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/0.1898, allocations: 178.6 kB / 0.6708 GB, free: 6.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.19, allocations: 345.9 kB / 0.6711 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.1913, allocations: 0.6032 MB / 0.6717 GB, free: 5.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.1928, allocations: 0.7124 MB / 0.6724 GB, free: 4.477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.1957, allocations: 1.315 MB / 0.6737 GB, free: 3.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.1957, allocations: 0 / 0.6737 GB, free: 3.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01187/0.2076, allocations: 3.552 MB / 0.6771 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2077, allocations: 8.031 kB / 0.6771 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2077, allocations: 4 kB / 0.6771 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/0.2137, allocations: 1.503 MB / 0.6786 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.2147, allocations: 167.7 kB / 0.6788 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/0.2343, allocations: 8.166 MB / 0.6867 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.2356, allocations: 143.5 kB / 0.6869 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.2357, allocations: 31.98 kB / 0.6869 GB, free: 5.402 MB / 494.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.000444/0.2362, allocations: 241 kB / 0.6871 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.2364, allocations: 99.34 kB / 0.6872 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.2479, allocations: 3.283 MB / 0.6904 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.2479, allocations: 11.94 kB / 0.6905 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2479, allocations: 0 / 0.6905 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.2479, allocations: 7.984 kB / 0.6905 GB, free: 1.746 MB / 494.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.01353/0.2615, allocations: 4.609 MB / 0.695 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.2615, allocations: 0 / 0.695 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.2622, allocations: 91.88 kB / 0.695 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005431/0.2676, allocations: 1.458 MB / 0.6965 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.2678, allocations: 16 kB / 0.6965 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.2843, allocations: 7.046 MB / 0.7034 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2843, allocations: 0 / 0.7034 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.2976, allocations: 4.118 MB / 0.7074 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.298, allocations: 184.5 kB / 0.7076 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.2982, allocations: 12 kB / 0.7076 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.2991, allocations: 83.66 kB / 0.7077 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000578/0.2997, allocations: 180.3 kB / 0.7078 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.2997, allocations: 19.98 kB / 0.7078 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006808/0.3004, allocations: 0.5107 MB / 0.7083 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 0 / 0.7083 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001196/0.3016, allocations: 367.7 kB / 0.7087 GB, free: 14.77 MB / 0.5137 GB 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.01338/0.315, allocations: 4.681 MB / 0.7133 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005925/0.321, allocations: 2.095 MB / 0.7153 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3211, allocations: 0 / 0.7153 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/0.325, allocations: 1.311 MB / 0.7166 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.3258, allocations: 85.52 kB / 0.7167 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/0.359, allocations: 12.85 MB / 0.7292 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.3598, allocations: 1.013 MB / 0.7302 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.3602, allocations: 85.47 kB / 0.7303 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.3607, allocations: 347.3 kB / 0.7306 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.3607, allocations: 7.938 kB / 0.7306 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/0.4341, allocations: 28.63 MB / 0.7586 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.4, allocations: 4 kB / 0.7586 GB, free: 11.54 MB / 0.5606 GB (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)