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.008256/0.008256, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.288/1.288, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001321/0.001321, allocations: 184.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4351/0.4351, allocations: 78.54 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 79.81 kB / 0.5531 GB, free: 1.504 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3205, allocations: 68.16 MB / 0.6197 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004791/0.3254, allocations: 5.794 MB / 0.6254 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.3284, allocations: 1.739 MB / 0.6271 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.3288, allocations: 12 kB / 0.6271 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3292, allocations: 206.2 kB / 0.6273 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3305, allocations: 0.7331 MB / 0.628 GB, free: 1.652 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.0009335/0.3315, allocations: 0.5694 MB / 0.6286 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009107/0.3324, allocations: 1.253 MB / 0.6298 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.3327, allocations: 283 kB / 0.63 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.3333, allocations: 0.5173 MB / 0.6305 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.3339, allocations: 0.6417 MB / 0.6312 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.334, allocations: 88 kB / 0.6313 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.3344, allocations: 231.8 kB / 0.6315 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3346, allocations: 242.9 kB / 0.6317 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.335, allocations: 0.5398 MB / 0.6322 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3363, allocations: 1.366 MB / 0.6336 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3363, allocations: 0 / 0.6336 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3363, allocations: 0 / 0.6336 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3363, allocations: 4 kB / 0.6336 GB, free: 11.92 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.007246/0.3435, allocations: 2.388 MB / 0.6359 GB, free: 9.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3436, allocations: 12.03 kB / 0.6359 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.3437, allocations: 110.5 kB / 0.636 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.3486, allocations: 0.7602 MB / 0.6368 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3497, allocations: 0.7135 MB / 0.6375 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.3501, allocations: 260.1 kB / 0.6377 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3502, allocations: 68 kB / 0.6378 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.3523, allocations: 0.9637 MB / 0.6387 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3524, allocations: 0 / 0.6387 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.3524, allocations: 24 kB / 0.6387 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3525, allocations: 16 kB / 0.6388 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.3546, allocations: 0.9799 MB / 0.6397 GB, free: 5.477 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.005042/0.3596, allocations: 3.167 MB / 0.6428 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.3616, allocations: 1.31 MB / 0.6441 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.363, allocations: 0.7071 MB / 0.6448 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/0.3631, allocations: 12.98 kB / 0.6448 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3631, allocations: 43.56 kB / 0.6448 GB, free: 15.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/0.3631, allocations: 0 / 0.6448 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02476/0.3879, allocations: 6.481 MB / 0.6512 GB, free: 9.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.388, allocations: 68.28 kB / 0.6512 GB, free: 9.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3891, allocations: 0.7868 MB / 0.652 GB, free: 8.566 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.3893, allocations: 45.69 kB / 0.652 GB, free: 8.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.3897, allocations: 445 kB / 0.6525 GB, free: 8.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.3901, allocations: 313.3 kB / 0.6528 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/0.3905, allocations: 186.9 kB / 0.6529 GB, free: 7.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3907, allocations: 349.9 kB / 0.6533 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.3923, allocations: 0.6546 MB / 0.6539 GB, free: 6.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3939, allocations: 0.7874 MB / 0.6547 GB, free: 5.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/0.4116, allocations: 4.516 MB / 0.6591 GB, free: 1.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.4116, allocations: 0 / 0.6591 GB, free: 1.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01367/0.4253, allocations: 4.098 MB / 0.6631 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4254, allocations: 4 kB / 0.6631 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4254, allocations: 4 kB / 0.6631 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/0.4315, allocations: 1.733 MB / 0.6648 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/0.4325, allocations: 179.7 kB / 0.665 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.4544, allocations: 9.066 MB / 0.6738 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.456, allocations: 151.3 kB / 0.674 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.4562, allocations: 35.98 kB / 0.674 GB, free: 1.77 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.0006036/0.4568, allocations: 229.6 kB / 0.6742 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.4573, allocations: 107.3 kB / 0.6743 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.4704, allocations: 3.817 MB / 0.678 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.4704, allocations: 11.94 kB / 0.6781 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4705, allocations: 0 / 0.6781 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.4705, allocations: 3.984 kB / 0.6781 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.4858, allocations: 5.38 MB / 0.6833 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.4858, allocations: 0 / 0.6833 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.4864, allocations: 87.89 kB / 0.6834 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.4924, allocations: 1.741 MB / 0.6851 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.4926, allocations: 16 kB / 0.6851 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.5117, allocations: 8.065 MB / 0.693 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5118, allocations: 0 / 0.693 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.5269, allocations: 4.756 MB / 0.6976 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.5274, allocations: 188.2 kB / 0.6978 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.5277, allocations: 20 kB / 0.6978 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5288, allocations: 87.89 kB / 0.6979 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007035/0.5296, allocations: 204.7 kB / 0.6981 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.5297, allocations: 20 kB / 0.6981 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008352/0.5305, allocations: 0.5303 MB / 0.6986 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.52e-07/0.5305, allocations: 0 / 0.6986 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001526/0.5321, allocations: 411.7 kB / 0.699 GB, free: 7.766 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.01527/0.5474, allocations: 5.324 MB / 0.7042 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006843/0.5543, allocations: 2.313 MB / 0.7065 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5543, allocations: 4 kB / 0.7065 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004933/0.5592, allocations: 1.519 MB / 0.708 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5604, allocations: 76.59 kB / 0.7081 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/0.5981, allocations: 14.19 MB / 0.7219 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.5989, allocations: 1.033 MB / 0.7229 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.5993, allocations: 82.3 kB / 0.723 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/0.6, allocations: 375.3 kB / 0.7234 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.6, allocations: 0 / 0.7234 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/0.6625, allocations: 30.97 MB / 0.7536 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.35, allocations: 11.69 kB / 0.7536 GB, free: 15.7 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)