Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.1394/0.1394, allocations: 12.59 MB / 28.22 MB, free: 0.75 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.4 kB / 31.84 MB, free: 3.879 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.697/1.697, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001626/0.001626, allocations: 188.5 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4965/0.4965, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.004379/0.00438, allocations: 135.8 kB / 0.5554 GB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.17, allocations: 68.11 MB / 0.6219 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.01109/0.1812, allocations: 6.476 MB / 0.6282 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.1874, allocations: 1.834 MB / 0.63 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.189, allocations: 16 kB / 0.6301 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1901, allocations: 222 kB / 0.6303 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1935, allocations: 0.7293 MB / 0.631 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1958, allocations: 0.5958 MB / 0.6316 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.1988, allocations: 1.421 MB / 0.6329 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.1997, allocations: 328.3 kB / 0.6333 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.2011, allocations: 0.5873 MB / 0.6338 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.2024, allocations: 0.7387 MB / 0.6346 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.2026, allocations: 108 kB / 0.6347 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007469/0.2034, allocations: 239.9 kB / 0.6349 GB, free: 440 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.2037, allocations: 282.7 kB / 0.6352 GB, free: 156 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008058/0.2045, allocations: 0.6213 MB / 0.6358 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.207, allocations: 1.527 MB / 0.6373 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.207, allocations: 0 / 0.6373 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.207, allocations: 0 / 0.6373 GB, free: 14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.2071, allocations: 0 / 0.6373 GB, free: 14 MB / 462.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.01311/0.2202, allocations: 2.564 MB / 0.6398 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/0.2203, allocations: 11.98 kB / 0.6398 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.2205, allocations: 126.8 kB / 0.6399 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/0.2292, allocations: 0.7787 MB / 0.6406 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2315, allocations: 0.7725 MB / 0.6414 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/0.2319, allocations: 264.1 kB / 0.6417 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.2322, allocations: 76 kB / 0.6417 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.236, allocations: 1.085 MB / 0.6428 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.2361, allocations: 0 / 0.6428 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.2362, allocations: 28 kB / 0.6428 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.2363, allocations: 20 kB / 0.6428 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.2404, allocations: 1.124 MB / 0.6439 GB, free: 6.988 MB / 462.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.009558/0.25, allocations: 3.44 MB / 0.6473 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.2536, allocations: 1.425 MB / 0.6487 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.2564, allocations: 0.7851 MB / 0.6494 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.2566, allocations: 20.97 kB / 0.6495 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.2566, allocations: 47.56 kB / 0.6495 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 4.919e-06/0.2567, allocations: 0 / 0.6495 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.04339/0.3, allocations: 6.606 MB / 0.656 GB, free: 10.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.3002, allocations: 60.41 kB / 0.656 GB, free: 10.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.3023, allocations: 0.9001 MB / 0.6569 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004863/0.3028, allocations: 45.7 kB / 0.6569 GB, free: 9.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.3034, allocations: 0.489 MB / 0.6574 GB, free: 8.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/0.3042, allocations: 347 kB / 0.6578 GB, free: 8.477 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/0.3049, allocations: 202.8 kB / 0.6579 GB, free: 8.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3051, allocations: 345.9 kB / 0.6583 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/0.3079, allocations: 0.7287 MB / 0.659 GB, free: 7.199 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/0.3109, allocations: 0.8501 MB / 0.6598 GB, free: 6.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03081/0.3418, allocations: 4.818 MB / 0.6645 GB, free: 1.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.3418, allocations: 4 kB / 0.6645 GB, free: 1.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.02311/0.365, allocations: 4.28 MB / 0.6687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.365, allocations: 14.75 kB / 0.6687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3651, allocations: 3.938 kB / 0.6687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.3757, allocations: 1.803 MB / 0.6705 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.3775, allocations: 207.7 kB / 0.6707 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03634/0.4139, allocations: 9.311 MB / 0.6798 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.4163, allocations: 171 kB / 0.6799 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.4166, allocations: 43.98 kB / 0.68 GB, free: 1.453 MB / 494.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.0007488/0.4174, allocations: 248.9 kB / 0.6802 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.4177, allocations: 122.5 kB / 0.6803 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.414/0.8317, allocations: 4.007 MB / 0.6842 GB, free: 54.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/0.8319, allocations: 8.844 kB / 0.6843 GB, free: 54.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8319, allocations: 0.875 kB / 0.6843 GB, free: 54.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/0.8319, allocations: 11.44 kB / 0.6843 GB, free: 54.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/0.8613, allocations: 5.611 MB / 0.6897 GB, free: 53.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.8614, allocations: 1 kB / 0.6898 GB, free: 53.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.8629, allocations: 127.9 kB / 0.6899 GB, free: 53.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/0.874, allocations: 1.747 MB / 0.6916 GB, free: 53.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.8744, allocations: 20.33 kB / 0.6916 GB, free: 53.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03032/0.9047, allocations: 8.069 MB / 0.6995 GB, free: 49.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.9048, allocations: 5.406 kB / 0.6995 GB, free: 49.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/0.9304, allocations: 4.968 MB / 0.7043 GB, free: 47.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.931, allocations: 202.4 kB / 0.7045 GB, free: 47.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.9314, allocations: 16.12 kB / 0.7045 GB, free: 47.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.9332, allocations: 109.8 kB / 0.7046 GB, free: 47.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/0.9343, allocations: 219.2 kB / 0.7049 GB, free: 47.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.9345, allocations: 20.5 kB / 0.7049 GB, free: 47.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.9357, allocations: 0.6126 MB / 0.7055 GB, free: 46.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9357, allocations: 0 / 0.7055 GB, free: 46.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002197/0.9379, allocations: 441.8 kB / 0.7059 GB, free: 46.75 MB / 494.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.02461/0.9625, allocations: 5.547 MB / 0.7113 GB, free: 43.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/0.9737, allocations: 2.493 MB / 0.7137 GB, free: 42.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9738, allocations: 0 / 0.7137 GB, free: 42.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008012/0.9818, allocations: 1.596 MB / 0.7153 GB, free: 40.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.9835, allocations: 84.42 kB / 0.7154 GB, free: 40.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06165/1.045, allocations: 15.33 MB / 0.7304 GB, free: 25.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/1.046, allocations: 1.095 MB / 0.7314 GB, free: 24.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/1.046, allocations: 94.84 kB / 0.7315 GB, free: 24.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.047, allocations: 447.3 kB / 0.7319 GB, free: 23.64 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/1.047, allocations: 0 / 0.7319 GB, free: 23.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.53/3.577, allocations: 35.17 MB / 0.7663 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.88/29.45, allocations: 0.6875 kB / 0.7663 GB, free: 4.574 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)