Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 177.3 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.8 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008181, allocations: 96.06 kB / 289.8 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3033/0.3033, allocations: 78.44 MB / 418.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 498.5 MB, free: 35.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 68.74 MB / 0.554 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005749/0.3029, allocations: 6.774 MB / 0.5606 GB, free: 5.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.3063, allocations: 1.915 MB / 0.5624 GB, free: 4.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/0.307, allocations: 16.44 kB / 0.5625 GB, free: 4.574 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.3074, allocations: 169.6 kB / 0.5626 GB, free: 4.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.3089, allocations: 0.6291 MB / 0.5632 GB, free: 4.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3101, allocations: 0.5783 MB / 0.5638 GB, free: 3.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3117, allocations: 1.35 MB / 0.5651 GB, free: 3.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.3121, allocations: 289.8 kB / 0.5654 GB, free: 2.949 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008873/0.313, allocations: 0.5209 MB / 0.5659 GB, free: 2.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.3137, allocations: 0.6624 MB / 0.5666 GB, free: 2.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3139, allocations: 53.31 kB / 0.5666 GB, free: 2.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.3144, allocations: 184.1 kB / 0.5668 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3146, allocations: 231.8 kB / 0.567 GB, free: 2.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.3151, allocations: 0.5558 MB / 0.5675 GB, free: 1.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3166, allocations: 1.435 MB / 0.5689 GB, free: 1.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3166, allocations: 0 / 0.5689 GB, free: 1.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3166, allocations: 0 / 0.5689 GB, free: 1.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.3166, allocations: 4 kB / 0.569 GB, free: 1.285 MB / 378.7 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.007104/0.3237, allocations: 2.318 MB / 0.5712 GB, free: 256 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3238, allocations: 8.938 kB / 0.5712 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.324, allocations: 136.1 kB / 0.5714 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.329, allocations: 0.7786 MB / 0.5721 GB, free: 0 / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3303, allocations: 0.7715 MB / 0.5729 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.3305, allocations: 259.9 kB / 0.5731 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.3307, allocations: 74.78 kB / 0.5732 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.333, allocations: 1.087 MB / 0.5742 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3331, allocations: 0 / 0.5742 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.3332, allocations: 30.69 kB / 0.5743 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3332, allocations: 18.31 kB / 0.5743 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.3357, allocations: 1.125 MB / 0.5754 GB, free: 14.43 MB / 394.7 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.005666/0.3414, allocations: 3.464 MB / 0.5788 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.3434, allocations: 1.425 MB / 0.5802 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.345, allocations: 0.7823 MB / 0.5809 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3451, allocations: 14.55 kB / 0.5809 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3452, allocations: 43.41 kB / 0.581 GB, free: 10.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.3452, allocations: 0.7188 kB / 0.581 GB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02557/0.3707, allocations: 6.614 MB / 0.5874 GB, free: 7.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3708, allocations: 65.41 kB / 0.5875 GB, free: 7.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3722, allocations: 0.9024 MB / 0.5884 GB, free: 6.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.3725, allocations: 41.55 kB / 0.5884 GB, free: 6.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.3729, allocations: 0.4923 MB / 0.5889 GB, free: 6.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.3733, allocations: 350.7 kB / 0.5892 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3734, allocations: 102.4 kB / 0.5893 GB, free: 5.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3736, allocations: 355.7 kB / 0.5897 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.3752, allocations: 0.7229 MB / 0.5904 GB, free: 4.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.377, allocations: 0.8468 MB / 0.5912 GB, free: 4.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/0.3952, allocations: 4.825 MB / 0.5959 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.3953, allocations: 4 kB / 0.5959 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01375/0.4091, allocations: 4.273 MB / 0.6001 GB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4091, allocations: 11.94 kB / 0.6001 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4092, allocations: 0 / 0.6001 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006124/0.4153, allocations: 1.8 MB / 0.6019 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4165, allocations: 203.8 kB / 0.6021 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.4362, allocations: 8.582 MB / 0.6104 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.4379, allocations: 171 kB / 0.6106 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.4381, allocations: 39.98 kB / 0.6106 GB, free: 0.6602 MB / 410.7 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.0006067/0.4387, allocations: 259 kB / 0.6109 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.439, allocations: 122.5 kB / 0.611 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.4516, allocations: 4.01 MB / 0.6149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4517, allocations: 12 kB / 0.6149 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4517, allocations: 3.938 kB / 0.6149 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.4517, allocations: 3.984 kB / 0.6149 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.4667, allocations: 5.618 MB / 0.6204 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4667, allocations: 0 / 0.6204 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.4675, allocations: 127.8 kB / 0.6206 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.4733, allocations: 1.745 MB / 0.6223 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.4736, allocations: 16 kB / 0.6223 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/0.4903, allocations: 7.358 MB / 0.6295 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4903, allocations: 4 kB / 0.6295 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.505, allocations: 4.966 MB / 0.6343 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/0.5055, allocations: 207.4 kB / 0.6345 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.5057, allocations: 16 kB / 0.6345 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.5068, allocations: 111.9 kB / 0.6346 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007077/0.5075, allocations: 208.5 kB / 0.6348 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.5076, allocations: 31.98 kB / 0.6349 GB, free: 7.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008403/0.5085, allocations: 0.6008 MB / 0.6354 GB, free: 6.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5085, allocations: 0 / 0.6354 GB, free: 6.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001351/0.5098, allocations: 439.4 kB / 0.6359 GB, free: 6.465 MB / 442.7 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.01479/0.5246, allocations: 5.545 MB / 0.6413 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006856/0.5315, allocations: 2.455 MB / 0.6437 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5316, allocations: 0 / 0.6437 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004766/0.5363, allocations: 1.553 MB / 0.6452 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.5376, allocations: 90.73 kB / 0.6453 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/0.5786, allocations: 16.32 MB / 0.6612 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.5794, allocations: 1.103 MB / 0.6623 GB, free: 10.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.58, allocations: 86.77 kB / 0.6624 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/0.5808, allocations: 439.3 kB / 0.6628 GB, free: 10.39 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5808, allocations: 0 / 0.6628 GB, free: 10.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.6344, allocations: 30.11 MB / 0.6922 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.6346, allocations: 239.1 kB / 0.6924 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.518, allocations: 0 / 0.6924 GB, free: 12.23 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)