Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09167/0.09167, allocations: 12.6 MB / 28.1 MB, free: 344 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 107.5 kB / 31.7 MB, free: 3.512 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 192.5 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4522/0.4522, allocations: 78.5 MB / 419.2 MB, free: 11.35 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 143.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3199, allocations: 68.1 MB / 0.5547 GB, free: 32.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006406/0.3264, allocations: 6.525 MB / 0.561 GB, free: 27.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.3308, allocations: 1.848 MB / 0.5629 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.332, allocations: 11.62 kB / 0.5629 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.3326, allocations: 225.9 kB / 0.5631 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.3347, allocations: 0.7235 MB / 0.5638 GB, free: 25.59 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001369/0.336, allocations: 0.6077 MB / 0.5644 GB, free: 25.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.3378, allocations: 1.418 MB / 0.5658 GB, free: 24.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.3384, allocations: 330.7 kB / 0.5661 GB, free: 24.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009976/0.3394, allocations: 0.5883 MB / 0.5667 GB, free: 23.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008126/0.3402, allocations: 0.7298 MB / 0.5674 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3404, allocations: 101.3 kB / 0.5675 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.3411, allocations: 240 kB / 0.5677 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.3413, allocations: 282.1 kB / 0.568 GB, free: 22.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.3419, allocations: 0.6247 MB / 0.5686 GB, free: 22.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.3437, allocations: 1.506 MB / 0.57 GB, free: 21.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3437, allocations: 0 / 0.57 GB, free: 21.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3437, allocations: 4 kB / 0.57 GB, free: 21.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.3438, allocations: 0 / 0.57 GB, free: 21.34 MB / 398.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.008774/0.3525, allocations: 2.555 MB / 0.5725 GB, free: 19.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.3526, allocations: 14.27 kB / 0.5726 GB, free: 19.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.3528, allocations: 128.3 kB / 0.5727 GB, free: 19.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.358, allocations: 0.7787 MB / 0.5734 GB, free: 19.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3595, allocations: 0.7716 MB / 0.5742 GB, free: 18.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.3598, allocations: 255.1 kB / 0.5744 GB, free: 18.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.36, allocations: 80.34 kB / 0.5745 GB, free: 18.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.3624, allocations: 1.09 MB / 0.5756 GB, free: 17.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3624, allocations: 0 / 0.5756 GB, free: 17.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.3625, allocations: 30.5 kB / 0.5756 GB, free: 17.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3625, allocations: 18.53 kB / 0.5756 GB, free: 17.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.3648, allocations: 1.124 MB / 0.5767 GB, free: 16.77 MB / 398.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.005485/0.3704, allocations: 3.468 MB / 0.5801 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3723, allocations: 1.431 MB / 0.5815 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3737, allocations: 0.7813 MB / 0.5823 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.3738, allocations: 20.97 kB / 0.5823 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3738, allocations: 43.56 kB / 0.5823 GB, free: 10.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.857e-06/0.3738, allocations: 0 / 0.5823 GB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02444/0.3983, allocations: 6.613 MB / 0.5888 GB, free: 4.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3984, allocations: 64.41 kB / 0.5888 GB, free: 4.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.3994, allocations: 0.8884 MB / 0.5897 GB, free: 3.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.3996, allocations: 41.7 kB / 0.5898 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.3998, allocations: 0.4928 MB / 0.5902 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.4001, allocations: 347.1 kB / 0.5906 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.4004, allocations: 206.8 kB / 0.5908 GB, free: 2.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.4005, allocations: 349.9 kB / 0.5911 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4021, allocations: 0.7365 MB / 0.5918 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4037, allocations: 0.8695 MB / 0.5927 GB, free: 28 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/0.4231, allocations: 4.861 MB / 0.5974 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4232, allocations: 4 kB / 0.5974 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01427/0.4375, allocations: 4.273 MB / 0.6016 GB, free: 6.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.4375, allocations: 8 kB / 0.6016 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.4376, allocations: 0 / 0.6016 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/0.4439, allocations: 1.738 MB / 0.6033 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4452, allocations: 227.7 kB / 0.6035 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/0.468, allocations: 9.065 MB / 0.6124 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.4701, allocations: 182.9 kB / 0.6125 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.4704, allocations: 39.98 kB / 0.6126 GB, free: 11.44 MB / 430.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 (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.0007375/0.4711, allocations: 245.6 kB / 0.6128 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.4715, allocations: 122.4 kB / 0.6129 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.4855, allocations: 4.014 MB / 0.6168 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.4856, allocations: 8 kB / 0.6169 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4856, allocations: 0 / 0.6169 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.4856, allocations: 7.922 kB / 0.6169 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.5022, allocations: 5.614 MB / 0.6223 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.5023, allocations: 0 / 0.6223 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.5031, allocations: 131.8 kB / 0.6225 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00657/0.5097, allocations: 1.753 MB / 0.6242 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.51, allocations: 16 kB / 0.6242 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.5299, allocations: 8.056 MB / 0.6321 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.53, allocations: 0 / 0.6321 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/0.5465, allocations: 4.954 MB / 0.6369 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.547, allocations: 207.4 kB / 0.6371 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.5474, allocations: 20 kB / 0.6371 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.5488, allocations: 107.8 kB / 0.6372 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/0.5496, allocations: 224.5 kB / 0.6374 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5497, allocations: 24 kB / 0.6375 GB, free: 1.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00084/0.5506, allocations: 0.5969 MB / 0.638 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5506, allocations: 3.938 kB / 0.638 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001572/0.5522, allocations: 443.4 kB / 0.6385 GB, free: 0.543 MB / 446.1 MB 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.01618/0.5684, allocations: 5.522 MB / 0.6439 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007798/0.5762, allocations: 2.514 MB / 0.6463 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5762, allocations: 0 / 0.6463 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005221/0.5815, allocations: 1.613 MB / 0.6479 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5826, allocations: 88.36 kB / 0.648 GB, free: 6.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/0.6244, allocations: 15.99 MB / 0.6636 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/0.6251, allocations: 1.099 MB / 0.6647 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005067/0.6257, allocations: 90.75 kB / 0.6647 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006564/0.6263, allocations: 450.1 kB / 0.6652 GB, free: 4.703 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6263, allocations: 0 / 0.6652 GB, free: 4.703 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06834/0.6947, allocations: 33.17 MB / 0.6976 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.38, allocations: 11.73 kB / 0.6976 GB, free: 3.59 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)