Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 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.35/1.35, allocations: 222.9 MB / 239.3 MB, free: 4.594 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.001409/0.001409, allocations: 195.6 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 91.9 MB / 431.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001715, allocations: 84.2 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3235, allocations: 71.27 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005357/0.3289, allocations: 6.454 MB / 0.5779 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3322, allocations: 1.87 MB / 0.5797 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.3329, allocations: 15.38 kB / 0.5797 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.3335, allocations: 221.7 kB / 0.5799 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.3352, allocations: 0.7212 MB / 0.5806 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3364, allocations: 0.6097 MB / 0.5812 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.3373, allocations: 1.412 MB / 0.5826 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.3377, allocations: 321.5 kB / 0.5829 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.3382, allocations: 0.5914 MB / 0.5835 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.3388, allocations: 0.7333 MB / 0.5842 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.3389, allocations: 101.6 kB / 0.5843 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.3393, allocations: 238.5 kB / 0.5845 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3395, allocations: 284.1 kB / 0.5848 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.3399, allocations: 0.6214 MB / 0.5854 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.341, allocations: 1.507 MB / 0.5869 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.341, allocations: 0 / 0.5869 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.341, allocations: 0 / 0.5869 GB, free: 27.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.3411, allocations: 0 / 0.5869 GB, free: 27.92 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00754/0.3486, allocations: 2.568 MB / 0.5894 GB, free: 26.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3487, allocations: 6.812 kB / 0.5894 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.3488, allocations: 125.3 kB / 0.5895 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/0.3537, allocations: 0.78 MB / 0.5903 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000969/0.3547, allocations: 0.7714 MB / 0.591 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.355, allocations: 260 kB / 0.5913 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3551, allocations: 75.56 kB / 0.5914 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.3573, allocations: 1.081 MB / 0.5924 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3573, allocations: 3.938 kB / 0.5924 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.3574, allocations: 31.34 kB / 0.5924 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3574, allocations: 19.28 kB / 0.5925 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.3599, allocations: 1.122 MB / 0.5936 GB, free: 24.92 MB / 430.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.005205/0.3651, allocations: 3.47 MB / 0.5969 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.3675, allocations: 1.43 MB / 0.5983 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.3691, allocations: 0.7872 MB / 0.5991 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.583e-05/0.3692, allocations: 15.55 kB / 0.5991 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3693, allocations: 47.72 kB / 0.5992 GB, free: 21.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/0.3693, allocations: 0 / 0.5992 GB, free: 21.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02674/0.396, allocations: 6.603 MB / 0.6056 GB, free: 20.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3961, allocations: 65.16 kB / 0.6057 GB, free: 20.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3975, allocations: 0.8976 MB / 0.6066 GB, free: 19.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.3978, allocations: 42.28 kB / 0.6066 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.3981, allocations: 0.4893 MB / 0.6071 GB, free: 19.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.3985, allocations: 348 kB / 0.6074 GB, free: 19.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.3989, allocations: 200.8 kB / 0.6076 GB, free: 19.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.399, allocations: 354.3 kB / 0.6079 GB, free: 18.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.4006, allocations: 0.721 MB / 0.6086 GB, free: 18.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.4025, allocations: 0.8505 MB / 0.6095 GB, free: 18.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/0.4224, allocations: 4.837 MB / 0.6142 GB, free: 16.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4225, allocations: 1.312 kB / 0.6142 GB, free: 16.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01457/0.4371, allocations: 4.275 MB / 0.6184 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4371, allocations: 11.94 kB / 0.6184 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4371, allocations: 4 kB / 0.6184 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00595/0.4431, allocations: 1.811 MB / 0.6202 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.4442, allocations: 203.7 kB / 0.6203 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.4642, allocations: 9.329 MB / 0.6295 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.4658, allocations: 175 kB / 0.6296 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.4659, allocations: 39.98 kB / 0.6297 GB, free: 2.5 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004535/0.4664, allocations: 250.2 kB / 0.6299 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.4666, allocations: 126.5 kB / 0.63 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.4799, allocations: 4.01 MB / 0.6339 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.48, allocations: 16 kB / 0.634 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.48, allocations: 0 / 0.634 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.48, allocations: 11.97 kB / 0.634 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.4961, allocations: 5.618 MB / 0.6394 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.4962, allocations: 0 / 0.6394 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.497, allocations: 127.8 kB / 0.6396 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006176/0.5032, allocations: 1.749 MB / 0.6413 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.5034, allocations: 23.92 kB / 0.6413 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.5229, allocations: 8.072 MB / 0.6492 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.523, allocations: 0 / 0.6492 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.5388, allocations: 4.966 MB / 0.654 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.5393, allocations: 203.4 kB / 0.6542 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.5394, allocations: 20 kB / 0.6542 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5406, allocations: 115.8 kB / 0.6544 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007175/0.5413, allocations: 216.6 kB / 0.6546 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.5414, allocations: 31.98 kB / 0.6546 GB, free: 8.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007589/0.5421, allocations: 0.5969 MB / 0.6552 GB, free: 7.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5421, allocations: 0 / 0.6552 GB, free: 7.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001279/0.5434, allocations: 447.4 kB / 0.6556 GB, free: 7.559 MB / 462.1 MB 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 (64): * Single equations (assignments): 63 * 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.01617/0.5596, allocations: 5.534 MB / 0.661 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008333/0.568, allocations: 2.543 MB / 0.6635 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.568, allocations: 4 kB / 0.6635 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005136/0.5732, allocations: 1.582 MB / 0.665 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5743, allocations: 88.41 kB / 0.6651 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/0.6152, allocations: 15.95 MB / 0.6807 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.616, allocations: 1.087 MB / 0.6818 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.6165, allocations: 94.75 kB / 0.6819 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.6171, allocations: 447.3 kB / 0.6823 GB, free: 11.75 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6171, allocations: 0 / 0.6823 GB, free: 11.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06808/0.6852, allocations: 33.35 MB / 0.7148 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.28, allocations: 10.52 kB / 0.7149 GB, free: 10.56 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)