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.0007128/0.0007127, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.178/1.178, allocations: 223.2 MB / 239.3 MB, free: 5.531 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.0008776/0.0008776, allocations: 183.4 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4004/0.4004, allocations: 78.55 MB / 420.3 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 15.98 kB / 0.4888 GB, free: 5.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 69.36 MB / 0.5565 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.1897/0.2968, allocations: 6.244 MB / 0.5626 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.2997, allocations: 1.881 MB / 0.5644 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.3004, allocations: 12.56 kB / 0.5644 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3007, allocations: 169.1 kB / 0.5646 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.3019, allocations: 0.624 MB / 0.5652 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.3028, allocations: 0.5578 MB / 0.5657 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008191/0.3036, allocations: 1.329 MB / 0.567 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.304, allocations: 293 kB / 0.5673 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.3043, allocations: 0.5115 MB / 0.5678 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.3048, allocations: 0.6529 MB / 0.5685 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.3049, allocations: 54.12 kB / 0.5685 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.3052, allocations: 176.7 kB / 0.5687 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3053, allocations: 227.3 kB / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.3056, allocations: 0.5799 MB / 0.5695 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007872/0.3064, allocations: 1.416 MB / 0.5708 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3064, allocations: 0.625 kB / 0.5709 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3065, allocations: 0 / 0.5709 GB, free: 33.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3065, allocations: 5.188 kB / 0.5709 GB, free: 33.05 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.006258/0.3127, allocations: 2.369 MB / 0.5732 GB, free: 32.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3128, allocations: 8.875 kB / 0.5732 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.3129, allocations: 132.1 kB / 0.5733 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/0.3172, allocations: 0.7816 MB / 0.5741 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.318, allocations: 0.7728 MB / 0.5748 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3182, allocations: 268 kB / 0.5751 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3183, allocations: 72.94 kB / 0.5751 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.3203, allocations: 1.172 MB / 0.5763 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3203, allocations: 3.938 kB / 0.5763 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.3204, allocations: 28.97 kB / 0.5763 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3204, allocations: 20.5 kB / 0.5763 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.3226, allocations: 1.238 MB / 0.5776 GB, free: 31.35 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.004334/0.327, allocations: 3.5 MB / 0.581 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3288, allocations: 1.507 MB / 0.5824 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.3302, allocations: 0.8661 MB / 0.5833 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.3303, allocations: 17.27 kB / 0.5833 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3303, allocations: 48.08 kB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.244e-06/0.3303, allocations: 0 / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02589/0.3562, allocations: 8.362 MB / 0.5915 GB, free: 27.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3563, allocations: 65.69 kB / 0.5916 GB, free: 27.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.3572, allocations: 0.8862 MB / 0.5924 GB, free: 27.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.3572, allocations: 42.14 kB / 0.5925 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.3575, allocations: 497.3 kB / 0.593 GB, free: 27.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.3577, allocations: 344.5 kB / 0.5933 GB, free: 26.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3578, allocations: 97.62 kB / 0.5934 GB, free: 26.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.3579, allocations: 352.1 kB / 0.5937 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.3595, allocations: 0.8042 MB / 0.5945 GB, free: 26.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.3612, allocations: 0.9287 MB / 0.5954 GB, free: 25.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/0.3794, allocations: 5.35 MB / 0.6006 GB, free: 24.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3794, allocations: 1.031 kB / 0.6006 GB, free: 24.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01426/0.3936, allocations: 5.194 MB / 0.6057 GB, free: 23.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3937, allocations: 6.312 kB / 0.6057 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3937, allocations: 3.375 kB / 0.6057 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006272/0.4, allocations: 2.183 MB / 0.6078 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.4009, allocations: 219.9 kB / 0.6081 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.4193, allocations: 9.345 MB / 0.6172 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4206, allocations: 220.2 kB / 0.6174 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.4207, allocations: 43.98 kB / 0.6174 GB, free: 14.95 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 (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 prepare postOptimizeDAE: time 0.0003783/0.4211, allocations: 241.6 kB / 0.6177 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4212, allocations: 122.4 kB / 0.6178 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.4337, allocations: 4.948 MB / 0.6226 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4337, allocations: 12 kB / 0.6226 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4337, allocations: 4 kB / 0.6226 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.4337, allocations: 4.734 kB / 0.6226 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.4472, allocations: 6.568 MB / 0.629 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4473, allocations: 0 / 0.629 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.4478, allocations: 143.8 kB / 0.6292 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/0.4533, allocations: 2.053 MB / 0.6312 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.4533, allocations: 16 kB / 0.6312 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.4706, allocations: 8.232 MB / 0.6392 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4706, allocations: 3.938 kB / 0.6392 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.4863, allocations: 5.993 MB / 0.6451 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.4866, allocations: 202.1 kB / 0.6453 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.4868, allocations: 16 kB / 0.6453 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4878, allocations: 159.9 kB / 0.6455 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005866/0.4884, allocations: 205.4 kB / 0.6457 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.4885, allocations: 27.98 kB / 0.6457 GB, free: 1.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006453/0.4891, allocations: 0.5927 MB / 0.6463 GB, free: 1.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4891, allocations: 4 kB / 0.6463 GB, free: 1.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4902, allocations: 435.4 kB / 0.6467 GB, free: 0.6445 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 (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.01612/0.5063, allocations: 6.588 MB / 0.6531 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006915/0.5133, allocations: 2.762 MB / 0.6558 GB, free: 7.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5133, allocations: 3.938 kB / 0.6558 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004725/0.518, allocations: 1.793 MB / 0.6576 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.5188, allocations: 92.36 kB / 0.6577 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.5566, allocations: 18.1 MB / 0.6753 GB, free: 2.879 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.5572, allocations: 1.092 MB / 0.6764 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.5576, allocations: 83.3 kB / 0.6765 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.5581, allocations: 447.2 kB / 0.6769 GB, free: 1.242 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5581, allocations: 0 / 0.6769 GB, free: 1.242 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.6012, allocations: 29.64 MB / 0.7058 GB, free: 4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.6014, allocations: 228.8 kB / 0.7061 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.83, allocations: 0 / 0.7061 GB, free: 3.742 MB / 0.4981 GB (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/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)