Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.00641/0.00641, allocations: 99.77 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.431/1.431, allocations: 222.9 MB / 239.4 MB, free: 4.488 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.001475, allocations: 188.5 kB / 289.7 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4799/0.4799, allocations: 78.54 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 83.81 kB / 0.5532 GB, free: 1.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3534, allocations: 68.16 MB / 0.6197 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004924/0.3583, allocations: 5.795 MB / 0.6254 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.3619, allocations: 1.736 MB / 0.6271 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.3626, allocations: 12 kB / 0.6271 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.3631, allocations: 206.2 kB / 0.6273 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3647, allocations: 0.6883 MB / 0.628 GB, free: 1.684 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3657, allocations: 0.5656 MB / 0.6285 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3668, allocations: 1.249 MB / 0.6297 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.3674, allocations: 283.1 kB / 0.63 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.3681, allocations: 0.5251 MB / 0.6305 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.3689, allocations: 0.6416 MB / 0.6311 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.3691, allocations: 88 kB / 0.6312 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.3696, allocations: 227.9 kB / 0.6314 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.3698, allocations: 238.9 kB / 0.6317 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.3703, allocations: 0.5476 MB / 0.6322 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.372, allocations: 1.362 MB / 0.6335 GB, free: 11.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3721, allocations: 4 kB / 0.6335 GB, free: 11.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3721, allocations: 0 / 0.6335 GB, free: 11.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3721, allocations: 0 / 0.6335 GB, free: 11.95 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007626/0.3797, allocations: 2.379 MB / 0.6359 GB, free: 9.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3798, allocations: 8.031 kB / 0.6359 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.3799, allocations: 122.4 kB / 0.636 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.3849, allocations: 0.768 MB / 0.6367 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3861, allocations: 0.7096 MB / 0.6374 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.3865, allocations: 252.2 kB / 0.6377 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3866, allocations: 64 kB / 0.6377 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.3887, allocations: 0.9599 MB / 0.6387 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3887, allocations: 7.938 kB / 0.6387 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.3888, allocations: 31.98 kB / 0.6387 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3888, allocations: 16 kB / 0.6387 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.3911, allocations: 0.9721 MB / 0.6397 GB, free: 5.516 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.005455/0.3965, allocations: 3.179 MB / 0.6428 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.3987, allocations: 1.308 MB / 0.644 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4002, allocations: 0.7071 MB / 0.6447 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.4003, allocations: 9 kB / 0.6447 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4004, allocations: 43.56 kB / 0.6448 GB, free: 15.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.465e-06/0.4004, allocations: 0 / 0.6448 GB, free: 15.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.0266/0.427, allocations: 6.485 MB / 0.6511 GB, free: 9.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.4271, allocations: 68.28 kB / 0.6512 GB, free: 9.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4283, allocations: 0.7907 MB / 0.652 GB, free: 8.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.4284, allocations: 37.7 kB / 0.652 GB, free: 8.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.4288, allocations: 449 kB / 0.6524 GB, free: 8.105 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4292, allocations: 305.3 kB / 0.6527 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003971/0.4296, allocations: 186.9 kB / 0.6529 GB, free: 7.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4298, allocations: 349.9 kB / 0.6532 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4314, allocations: 0.6663 MB / 0.6539 GB, free: 6.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.433, allocations: 0.7795 MB / 0.6546 GB, free: 5.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.4516, allocations: 4.524 MB / 0.6591 GB, free: 1.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4516, allocations: 0 / 0.6591 GB, free: 1.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01419/0.4658, allocations: 4.079 MB / 0.663 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.4659, allocations: 8 kB / 0.663 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4659, allocations: 0 / 0.663 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006432/0.4724, allocations: 1.737 MB / 0.6647 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4734, allocations: 183.8 kB / 0.6649 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.4963, allocations: 9.065 MB / 0.6738 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.4977, allocations: 155.3 kB / 0.6739 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.4978, allocations: 35.98 kB / 0.674 GB, free: 1.805 MB / 478.1 MB 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 (101): * Single equations (assignments): 100 * 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.0004225/0.4983, allocations: 225.7 kB / 0.6742 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.4984, allocations: 107.3 kB / 0.6743 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.512, allocations: 3.817 MB / 0.678 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.512, allocations: 11.94 kB / 0.678 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.512, allocations: 0 / 0.678 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.5121, allocations: 3.984 kB / 0.678 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.5275, allocations: 5.38 MB / 0.6833 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5275, allocations: 0 / 0.6833 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.5281, allocations: 87.89 kB / 0.6834 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006294/0.5344, allocations: 1.745 MB / 0.6851 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.5346, allocations: 16 kB / 0.6851 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.5546, allocations: 8.065 MB / 0.6929 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.5547, allocations: 3.984 kB / 0.693 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.5706, allocations: 4.744 MB / 0.6976 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.571, allocations: 192.3 kB / 0.6978 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.5714, allocations: 16.09 kB / 0.6978 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5725, allocations: 87.89 kB / 0.6979 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007607/0.5732, allocations: 212.6 kB / 0.6981 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5734, allocations: 20 kB / 0.6981 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008777/0.5743, allocations: 0.5341 MB / 0.6986 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5743, allocations: 0 / 0.6986 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001559/0.5758, allocations: 411.7 kB / 0.699 GB, free: 7.797 MB / 0.4981 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 (50): * Single equations (assignments): 49 * 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.01635/0.5922, allocations: 5.324 MB / 0.7042 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007515/0.5998, allocations: 2.312 MB / 0.7065 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5998, allocations: 0 / 0.7065 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.6052, allocations: 1.519 MB / 0.7079 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6065, allocations: 75.34 kB / 0.708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04043/0.6469, allocations: 14.19 MB / 0.7219 GB, free: 124 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/0.6479, allocations: 1.037 MB / 0.7229 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.6483, allocations: 78.31 kB / 0.723 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.649, allocations: 379.2 kB / 0.7233 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.649, allocations: 0 / 0.7233 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07114/0.7202, allocations: 30.97 MB / 0.7536 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.16, allocations: 11.03 kB / 0.7536 GB, free: 15.73 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)