Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.001113/0.001113, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.308/1.308, allocations: 223.2 MB / 238.9 MB, free: 5.496 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.001099/0.001099, allocations: 189 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4357/0.4357, allocations: 78.52 MB / 419.8 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003341, allocations: 8 kB / 499.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 69.36 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.1972/0.3186, allocations: 5.568 MB / 0.5612 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.322, allocations: 1.826 MB / 0.563 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3231, allocations: 15.66 kB / 0.563 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.3236, allocations: 158 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.3253, allocations: 0.6479 MB / 0.5638 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3265, allocations: 0.5123 MB / 0.5643 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3279, allocations: 0.9034 MB / 0.5652 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.3283, allocations: 265.7 kB / 0.5654 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.3289, allocations: 0.4935 MB / 0.5659 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.3295, allocations: 0.6167 MB / 0.5665 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3296, allocations: 53.09 kB / 0.5666 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.33, allocations: 167.5 kB / 0.5667 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3302, allocations: 213.2 kB / 0.5669 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3304, allocations: 218.2 kB / 0.5671 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.3313, allocations: 1.045 MB / 0.5681 GB, free: 36.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.3314, allocations: 0.8438 kB / 0.5681 GB, free: 36.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3314, allocations: 0 / 0.5681 GB, free: 36.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.3314, allocations: 0 / 0.5681 GB, free: 36.31 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007257/0.3387, allocations: 2.389 MB / 0.5705 GB, free: 35.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3387, allocations: 7.875 kB / 0.5705 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.339, allocations: 126.5 kB / 0.5706 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.344, allocations: 0.7926 MB / 0.5714 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3452, allocations: 0.7156 MB / 0.5721 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3454, allocations: 280.6 kB / 0.5723 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.3456, allocations: 77.66 kB / 0.5724 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.3477, allocations: 1.145 MB / 0.5735 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3478, allocations: 2.906 kB / 0.5735 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.3479, allocations: 29.41 kB / 0.5736 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.3479, allocations: 22.45 kB / 0.5736 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.3503, allocations: 1.237 MB / 0.5748 GB, free: 34.41 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.005058/0.3554, allocations: 3.6 MB / 0.5783 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.3572, allocations: 1.505 MB / 0.5798 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.464e-05/0.3574, allocations: 15.48 kB / 0.5798 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3574, allocations: 50.75 kB / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.3574, allocations: 0 / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02772/0.3851, allocations: 8.315 MB / 0.588 GB, free: 29.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3852, allocations: 66.22 kB / 0.588 GB, free: 29.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3863, allocations: 0.8776 MB / 0.5889 GB, free: 29.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.3865, allocations: 44.89 kB / 0.5889 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.3868, allocations: 496.7 kB / 0.5894 GB, free: 29.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.3871, allocations: 335.2 kB / 0.5897 GB, free: 28.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.3872, allocations: 24.06 kB / 0.5897 GB, free: 28.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.3873, allocations: 348.5 kB / 0.5901 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.389, allocations: 0.7997 MB / 0.5909 GB, free: 28.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.3908, allocations: 0.9235 MB / 0.5918 GB, free: 27.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3926, allocations: 0.8573 MB / 0.5926 GB, free: 27.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3926, allocations: 4 kB / 0.5926 GB, free: 27.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01537/0.408, allocations: 5.14 MB / 0.5976 GB, free: 26.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.4081, allocations: 6.406 kB / 0.5976 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4081, allocations: 2.062 kB / 0.5976 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/0.4151, allocations: 2.181 MB / 0.5998 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4163, allocations: 224.2 kB / 0.6 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/0.4379, allocations: 9.786 MB / 0.6095 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4395, allocations: 225 kB / 0.6097 GB, free: 21.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4396, allocations: 39.58 kB / 0.6098 GB, free: 21.72 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004627/0.4401, allocations: 236.8 kB / 0.61 GB, free: 21.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.4403, allocations: 118.5 kB / 0.6101 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.4536, allocations: 4.956 MB / 0.615 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.4537, allocations: 8 kB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4537, allocations: 0.9375 kB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/0.4538, allocations: 3.984 kB / 0.615 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.4688, allocations: 6.56 MB / 0.6214 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4689, allocations: 4 kB / 0.6214 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/0.4697, allocations: 139.8 kB / 0.6215 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005811/0.4755, allocations: 2.053 MB / 0.6235 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.4757, allocations: 17.31 kB / 0.6235 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.4928, allocations: 8.656 MB / 0.632 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4929, allocations: 3.953 kB / 0.632 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.5095, allocations: 5.991 MB / 0.6378 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.51, allocations: 201.2 kB / 0.638 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.5102, allocations: 16 kB / 0.6381 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.5114, allocations: 155.9 kB / 0.6382 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/0.5121, allocations: 216.6 kB / 0.6384 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.5122, allocations: 24 kB / 0.6384 GB, free: 8.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000785/0.513, allocations: 0.5887 MB / 0.639 GB, free: 8.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.513, allocations: 0 / 0.639 GB, free: 8.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001427/0.5144, allocations: 431.5 kB / 0.6394 GB, free: 7.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/0.5311, allocations: 6.577 MB / 0.6458 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007159/0.5382, allocations: 2.748 MB / 0.6485 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5383, allocations: 0 / 0.6485 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004952/0.5432, allocations: 1.794 MB / 0.6503 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.5438, allocations: 76.41 kB / 0.6504 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.5482, allocations: 4.132 MB / 0.6544 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.5487, allocations: 1.111 MB / 0.6555 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.549, allocations: 93.3 kB / 0.6556 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.5496, allocations: 439.3 kB / 0.656 GB, free: 6.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5496, allocations: 0 / 0.656 GB, free: 6.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.5966, allocations: 28.87 MB / 0.6842 GB, free: 10.29 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.5968, allocations: 211 kB / 0.6844 GB, free: 10.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.994, allocations: 3.938 kB / 0.6844 GB, free: 10.04 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: