Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.001072/0.001072, allocations: 112.5 kB / 15.73 MB, free: 76 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.297/1.297, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001455/0.001455, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5004/0.5004, allocations: 91.9 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 78.47 kB / 0.5722 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1432, allocations: 71.29 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006713/0.1499, allocations: 6.499 MB / 0.6482 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.1537, allocations: 1.892 MB / 0.6501 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.1545, allocations: 19.88 kB / 0.6501 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.1552, allocations: 218.1 kB / 0.6503 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.1574, allocations: 0.7712 MB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1589, allocations: 0.6194 MB / 0.6517 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1609, allocations: 1.429 MB / 0.653 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.1616, allocations: 328.5 kB / 0.6534 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1626, allocations: 0.5913 MB / 0.6539 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1637, allocations: 0.7271 MB / 0.6546 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.1641, allocations: 107.9 kB / 0.6548 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007543/0.1649, allocations: 239.8 kB / 0.655 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.1653, allocations: 278.8 kB / 0.6552 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1663, allocations: 0.6212 MB / 0.6559 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.1686, allocations: 1.529 MB / 0.6573 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1686, allocations: 0 / 0.6573 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1686, allocations: 0 / 0.6573 GB, free: 4.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.313e-05/0.1687, allocations: 7.938 kB / 0.6574 GB, free: 4.172 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008808/0.1775, allocations: 2.598 MB / 0.6599 GB, free: 1.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1776, allocations: 8.031 kB / 0.6599 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003334/0.1779, allocations: 126.8 kB / 0.66 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.1829, allocations: 0.7874 MB / 0.6608 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1846, allocations: 0.7851 MB / 0.6616 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.1849, allocations: 260.2 kB / 0.6618 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.1852, allocations: 79.95 kB / 0.6619 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.1876, allocations: 1.085 MB / 0.6629 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1877, allocations: 0 / 0.6629 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.1878, allocations: 28 kB / 0.663 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1878, allocations: 20 kB / 0.663 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.1903, allocations: 1.124 MB / 0.6641 GB, free: 13.11 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 preOpt removeSimpleEquations (simulation): time 0.006251/0.1965, allocations: 3.48 MB / 0.6675 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.1987, allocations: 1.441 MB / 0.6689 GB, free: 7.922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.2003, allocations: 0.7852 MB / 0.6697 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.2004, allocations: 16.98 kB / 0.6697 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2004, allocations: 43.56 kB / 0.6697 GB, free: 7.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.795e-06/0.2005, allocations: 4 kB / 0.6697 GB, free: 7.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02621/0.2267, allocations: 6.875 MB / 0.6764 GB, free: 156 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2268, allocations: 60.41 kB / 0.6765 GB, free: 84 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.2281, allocations: 0.8924 MB / 0.6774 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.2283, allocations: 45.7 kB / 0.6774 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.2287, allocations: 0.4973 MB / 0.6779 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.2291, allocations: 364.9 kB / 0.6782 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005052/0.2296, allocations: 206.9 kB / 0.6784 GB, free: 14.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2298, allocations: 357.9 kB / 0.6788 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.2315, allocations: 0.7287 MB / 0.6795 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.2333, allocations: 0.8618 MB / 0.6803 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/0.2517, allocations: 4.834 MB / 0.685 GB, free: 7.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.2518, allocations: 0 / 0.685 GB, free: 7.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01426/0.266, allocations: 4.281 MB / 0.6892 GB, free: 2.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.2661, allocations: 4 kB / 0.6892 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.2661, allocations: 7.938 kB / 0.6892 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/0.2724, allocations: 1.737 MB / 0.6909 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.2737, allocations: 223.7 kB / 0.6912 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.2963, allocations: 9.075 MB / 0.7 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.2979, allocations: 183.2 kB / 0.7002 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.2981, allocations: 39.98 kB / 0.7002 GB, free: 7.484 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005928/0.2987, allocations: 241.6 kB / 0.7005 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.2991, allocations: 131.1 kB / 0.7006 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.3125, allocations: 3.998 MB / 0.7045 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.3125, allocations: 8 kB / 0.7045 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3126, allocations: 4 kB / 0.7045 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.3126, allocations: 7.984 kB / 0.7045 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.328, allocations: 5.626 MB / 0.71 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.328, allocations: 4 kB / 0.71 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.3288, allocations: 135.8 kB / 0.7101 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006733/0.3355, allocations: 1.734 MB / 0.7118 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.3358, allocations: 16 kB / 0.7118 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03206/0.3679, allocations: 8.073 MB / 0.7197 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3679, allocations: 7.875 kB / 0.7197 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02832/0.3963, allocations: 4.969 MB / 0.7246 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.3966, allocations: 208.1 kB / 0.7248 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.3969, allocations: 16 kB / 0.7248 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.3981, allocations: 107.9 kB / 0.7249 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007421/0.3988, allocations: 220.7 kB / 0.7251 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.399, allocations: 24 kB / 0.7251 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008046/0.3998, allocations: 0.6008 MB / 0.7257 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3998, allocations: 0 / 0.7257 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001371/0.4012, allocations: 447.6 kB / 0.7261 GB, free: 12.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/0.4169, allocations: 5.538 MB / 0.7316 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007103/0.4241, allocations: 2.486 MB / 0.734 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4241, allocations: 8 kB / 0.734 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004985/0.4291, allocations: 1.593 MB / 0.7355 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.4301, allocations: 99.31 kB / 0.7356 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/0.4697, allocations: 15.41 MB / 0.7507 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.4704, allocations: 1.103 MB / 0.7518 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.4709, allocations: 86.77 kB / 0.7519 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.4715, allocations: 455.2 kB / 0.7523 GB, free: 1.516 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.4716, allocations: 4 kB / 0.7523 GB, free: 1.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/0.8017, allocations: 33.54 MB / 0.785 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.08, allocations: 13.03 kB / 0.7851 GB, free: 116.2 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)