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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8632/0.8632, allocations: 177.2 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 156.6 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2546/0.2546, allocations: 80.25 MB / 392.6 MB, free: 2.453 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.458e-05, allocations: 5.453 kB / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004564/0.004578, allocations: 5.663 MB / 0.5603 GB, free: 6.598 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.007608, allocations: 1.872 MB / 0.5622 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.008121, allocations: 15.94 kB / 0.5622 GB, free: 4.707 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.008521, allocations: 226 kB / 0.5624 GB, free: 4.484 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.009698, allocations: 0.7714 MB / 0.5631 GB, free: 3.711 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.01054, allocations: 0.631 MB / 0.5638 GB, free: 3.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.01149, allocations: 1.459 MB / 0.5652 GB, free: 1.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.01178, allocations: 216.8 kB / 0.5654 GB, free: 1.398 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.01246, allocations: 0.8337 MB / 0.5662 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.01303, allocations: 0.5607 MB / 0.5668 GB, free: 0 / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1855/0.1985, allocations: 101 kB / 0.5669 GB, free: 16.42 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.1991, allocations: 238.8 kB / 0.5671 GB, free: 16.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1993, allocations: 280.3 kB / 0.5673 GB, free: 16.42 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.1997, allocations: 414.2 kB / 0.5677 GB, free: 16.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.2012, allocations: 1.575 MB / 0.5693 GB, free: 16.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2012, allocations: 1.938 kB / 0.5693 GB, free: 16.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2012, allocations: 0 / 0.5693 GB, free: 16.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.2012, allocations: 0 / 0.5693 GB, free: 16.33 MB / 442.7 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.004267/0.2055, allocations: 2.509 MB / 0.5717 GB, free: 15.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2055, allocations: 9.875 kB / 0.5717 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.2056, allocations: 130.1 kB / 0.5719 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.2082, allocations: 0.8209 MB / 0.5727 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.2092, allocations: 0.7177 MB / 0.5734 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.2094, allocations: 317.8 kB / 0.5737 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2095, allocations: 74.16 kB / 0.5737 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.2109, allocations: 1.069 MB / 0.5748 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2109, allocations: 1.25 kB / 0.5748 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.211, allocations: 29.72 kB / 0.5748 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.211, allocations: 25.33 kB / 0.5748 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.2126, allocations: 1.111 MB / 0.5759 GB, free: 14.55 MB / 442.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.003687/0.2163, allocations: 2.596 MB / 0.5785 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2176, allocations: 0.8645 MB / 0.5793 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.2187, allocations: 0.7028 MB / 0.58 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.2188, allocations: 12.09 kB / 0.58 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2188, allocations: 40.53 kB / 0.58 GB, free: 12.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/0.2188, allocations: 0 / 0.58 GB, free: 12.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01386/0.2327, allocations: 6.644 MB / 0.5865 GB, free: 11.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.2327, allocations: 62.25 kB / 0.5866 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.2337, allocations: 0.9056 MB / 0.5875 GB, free: 10.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.2338, allocations: 41.08 kB / 0.5875 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.234, allocations: 0.501 MB / 0.588 GB, free: 10.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.2342, allocations: 354.9 kB / 0.5883 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2344, allocations: 193.5 kB / 0.5885 GB, free: 10.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.2345, allocations: 347.8 kB / 0.5889 GB, free: 9.688 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.2355, allocations: 0.7101 MB / 0.5895 GB, free: 9.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.2365, allocations: 0.8426 MB / 0.5904 GB, free: 8.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009471/0.246, allocations: 4.892 MB / 0.5951 GB, free: 6.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.246, allocations: 1.375 kB / 0.5951 GB, free: 6.508 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006842/0.2528, allocations: 4.234 MB / 0.5993 GB, free: 4.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2528, allocations: 7.281 kB / 0.5993 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2528, allocations: 2.406 kB / 0.5993 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.2558, allocations: 1.865 MB / 0.6011 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.2564, allocations: 206.1 kB / 0.6013 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.2683, allocations: 8.79 MB / 0.6099 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.2694, allocations: 179.2 kB / 0.6101 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.2695, allocations: 43.73 kB / 0.6101 GB, free: 10.05 MB / 458.7 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.0004482/0.2699, allocations: 246.2 kB / 0.6103 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.2701, allocations: 123.2 kB / 0.6105 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006662/0.2767, allocations: 3.976 MB / 0.6143 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2767, allocations: 8 kB / 0.6144 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2767, allocations: 3.438 kB / 0.6144 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2767, allocations: 3.984 kB / 0.6144 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007965/0.2847, allocations: 4.981 MB / 0.6192 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2847, allocations: 2.062 kB / 0.6192 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.2851, allocations: 126.6 kB / 0.6193 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.2882, allocations: 1.744 MB / 0.621 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.2882, allocations: 19.98 kB / 0.6211 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.2985, allocations: 7.771 MB / 0.6287 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2985, allocations: 0 / 0.6287 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/0.3066, allocations: 4.942 MB / 0.6335 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.307, allocations: 134.9 kB / 0.6336 GB, free: 1.914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3071, allocations: 15.94 kB / 0.6336 GB, free: 1.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3076, allocations: 111.9 kB / 0.6337 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/0.3082, allocations: 220.6 kB / 0.6339 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.3082, allocations: 27.98 kB / 0.634 GB, free: 1.547 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.3088, allocations: 0.5969 MB / 0.6346 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3088, allocations: 0 / 0.6346 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009759/0.3098, allocations: 435.6 kB / 0.635 GB, free: 0.5156 MB / 474.7 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.008309/0.3181, allocations: 5.523 MB / 0.6404 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.3221, allocations: 2.37 MB / 0.6427 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3221, allocations: 0 / 0.6427 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.3245, allocations: 1.511 MB / 0.6442 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.3252, allocations: 92.41 kB / 0.6442 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/0.3473, allocations: 15.07 MB / 0.659 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3477, allocations: 0.5022 MB / 0.6594 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003115/0.348, allocations: 82.78 kB / 0.6595 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.3484, allocations: 456.3 kB / 0.66 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/0.3484, allocations: 0 / 0.66 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.3967, allocations: 35.76 MB / 0.6949 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.84, allocations: 6.812 kB / 0.6949 GB, free: 3.223 MB / 0.5261 GB " [Timeout remaining time 651] (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 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.134151971898973] Failed to read output from testmodel.py, exit status != 0: 8.946026172488928 8.961195104 8.757308974 Calling exit ...