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.001259/0.001259, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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 1.412/1.412, allocations: 230.6 MB / 250.5 MB, free: 9.227 MB / 206.1 MB " [Timeout remaining time 178] 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.001551/0.001551, allocations: 218.2 kB / 306.7 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4386/0.4386, allocations: 79.7 MB / 442.5 MB, free: 148 kB / 302.1 MB " [Timeout remaining time 179] 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 79.88 kB / 0.5885 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1515, allocations: 73.27 MB / 0.6601 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007689/0.1592, allocations: 6.431 MB / 0.6663 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.1635, allocations: 1.946 MB / 0.6682 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.1643, allocations: 15.94 kB / 0.6683 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.165, allocations: 230 kB / 0.6685 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.1669, allocations: 0.7672 MB / 0.6692 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1684, allocations: 0.6272 MB / 0.6698 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.1703, allocations: 1.413 MB / 0.6712 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.1707, allocations: 224.3 kB / 0.6714 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009358/0.1717, allocations: 0.6068 MB / 0.672 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.1725, allocations: 0.7388 MB / 0.6727 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1727, allocations: 100 kB / 0.6728 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.1732, allocations: 251.8 kB / 0.6731 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1735, allocations: 278.8 kB / 0.6733 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.1741, allocations: 0.6213 MB / 0.674 GB, free: 9.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.176, allocations: 1.528 MB / 0.6754 GB, free: 8.375 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.176, allocations: 3.938 kB / 0.6755 GB, free: 8.371 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.176, allocations: 0 / 0.6755 GB, free: 8.371 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.176, allocations: 0 / 0.6755 GB, free: 8.371 MB / 478.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.008673/0.1847, allocations: 2.609 MB / 0.678 GB, free: 5.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1847, allocations: 8.031 kB / 0.678 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.658e-05/0.1848, allocations: 25.94 kB / 0.678 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.1849, allocations: 126.7 kB / 0.6782 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.1905, allocations: 0.8264 MB / 0.679 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.192, allocations: 0.7773 MB / 0.6797 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.1923, allocations: 264.2 kB / 0.68 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.1925, allocations: 76 kB / 0.68 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.195, allocations: 1.073 MB / 0.6811 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.195, allocations: 0 / 0.6811 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1951, allocations: 31.98 kB / 0.6811 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1951, allocations: 20 kB / 0.6811 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.1978, allocations: 1.12 MB / 0.6822 GB, free: 1.258 MB / 478.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.006473/0.2043, allocations: 3.429 MB / 0.6856 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.2067, allocations: 1.328 MB / 0.6869 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.2084, allocations: 0.6992 MB / 0.6876 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2085, allocations: 12.98 kB / 0.6876 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2086, allocations: 39.56 kB / 0.6876 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.705e-06/0.2086, allocations: 4 kB / 0.6876 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02816/0.2367, allocations: 6.727 MB / 0.6942 GB, free: 4.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.2368, allocations: 60.41 kB / 0.6942 GB, free: 4.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.2382, allocations: 0.8962 MB / 0.6951 GB, free: 3.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.2385, allocations: 41.7 kB / 0.6952 GB, free: 3.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.2389, allocations: 0.4975 MB / 0.6956 GB, free: 3.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.2394, allocations: 353 kB / 0.696 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.2398, allocations: 194.9 kB / 0.6962 GB, free: 2.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.24, allocations: 357.9 kB / 0.6965 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.2418, allocations: 0.7131 MB / 0.6972 GB, free: 1.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.2437, allocations: 0.85 MB / 0.698 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3294/0.5731, allocations: 4.887 MB / 0.7028 GB, free: 34.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5731, allocations: 0 / 0.7028 GB, free: 34.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0149/0.588, allocations: 4.226 MB / 0.7069 GB, free: 34.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.588, allocations: 12.41 kB / 0.7069 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.588, allocations: 4.359 kB / 0.707 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/0.5951, allocations: 1.867 MB / 0.7088 GB, free: 34.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.5963, allocations: 207.4 kB / 0.709 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.6181, allocations: 9.084 MB / 0.7178 GB, free: 30.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6196, allocations: 179.5 kB / 0.718 GB, free: 30.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6197, allocations: 42.02 kB / 0.7181 GB, free: 30.28 MB / 494.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.0004782/0.6202, allocations: 248.6 kB / 0.7183 GB, free: 30.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.6205, allocations: 126.7 kB / 0.7184 GB, free: 30.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.6337, allocations: 3.977 MB / 0.7223 GB, free: 29.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.6337, allocations: 10.28 kB / 0.7223 GB, free: 29.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6337, allocations: 0 / 0.7223 GB, free: 29.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.6338, allocations: 3.984 kB / 0.7223 GB, free: 29.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.6485, allocations: 5.589 MB / 0.7278 GB, free: 25.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.6485, allocations: 0 / 0.7278 GB, free: 25.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.6493, allocations: 130.1 kB / 0.7279 GB, free: 25.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005979/0.6553, allocations: 1.741 MB / 0.7296 GB, free: 24.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.6555, allocations: 23.66 kB / 0.7296 GB, free: 24.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.6722, allocations: 8.065 MB / 0.7375 GB, free: 18.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6722, allocations: 0 / 0.7375 GB, free: 18.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.6863, allocations: 4.944 MB / 0.7423 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.6867, allocations: 213.7 kB / 0.7425 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6869, allocations: 16 kB / 0.7425 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/0.6879, allocations: 107.8 kB / 0.7426 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006433/0.6885, allocations: 225.8 kB / 0.7429 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.6886, allocations: 20 kB / 0.7429 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.6892, allocations: 0.6008 MB / 0.7435 GB, free: 12.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6892, allocations: 0.9844 kB / 0.7435 GB, free: 12.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001237/0.6904, allocations: 438.3 kB / 0.7439 GB, free: 12.24 MB / 494.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.01442/0.7048, allocations: 5.524 MB / 0.7493 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.7121, allocations: 2.372 MB / 0.7516 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7121, allocations: 0 / 0.7516 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/0.7168, allocations: 1.527 MB / 0.7531 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.7178, allocations: 80.42 kB / 0.7532 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/0.758, allocations: 15.14 MB / 0.7679 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.7588, allocations: 1.088 MB / 0.769 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000442/0.7592, allocations: 93.09 kB / 0.7691 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.7599, allocations: 451.3 kB / 0.7695 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/0.7599, allocations: 0 / 0.7695 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/0.8309, allocations: 33.74 MB / 0.8025 GB, free: 204 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/18.33, allocations: 7.938 kB / 0.8025 GB, free: 196 kB / 0.5294 GB " [Timeout remaining time 642] (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: 21.897597737028264] Failed to read output from testmodel.py, exit status != 0: 18.495907113945577 18.511847433 18.332692161 Calling exit ...