Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001112/0.001112, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.8577/0.8577, allocations: 177.1 MB / 199.4 MB, free: 5.953 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.001289/0.001289, allocations: 152.7 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.258/0.258, allocations: 80.24 MB / 392.6 MB, free: 2.445 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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.087e-05, allocations: 5.344 kB / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004418/0.004438, allocations: 5.706 MB / 0.5604 GB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.007434, allocations: 1.896 MB / 0.5622 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.007884, allocations: 12 kB / 0.5622 GB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.008282, allocations: 225.9 kB / 0.5625 GB, free: 4.422 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.009434, allocations: 0.7751 MB / 0.5632 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.01029, allocations: 0.6373 MB / 0.5638 GB, free: 3.012 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.01149, allocations: 1.471 MB / 0.5653 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.0118, allocations: 220.9 kB / 0.5655 GB, free: 1.309 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008489/0.01265, allocations: 0.8337 MB / 0.5663 GB, free: 484 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1856/0.1983, allocations: 0.5715 MB / 0.5668 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.1986, allocations: 102.5 kB / 0.5669 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1991, allocations: 247.6 kB / 0.5672 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1993, allocations: 285.5 kB / 0.5675 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.1996, allocations: 420.3 kB / 0.5679 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.201, allocations: 1.583 MB / 0.5694 GB, free: 16.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.201, allocations: 2.328 kB / 0.5694 GB, free: 16.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.201, allocations: 0 / 0.5694 GB, free: 16.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.201, allocations: 0 / 0.5694 GB, free: 16.07 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004274/0.2053, allocations: 2.54 MB / 0.5719 GB, free: 15.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2053, allocations: 8.938 kB / 0.5719 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.2054, allocations: 130.6 kB / 0.572 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.208, allocations: 0.8228 MB / 0.5728 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.2089, allocations: 0.7242 MB / 0.5735 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.2091, allocations: 310.2 kB / 0.5738 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2092, allocations: 80.16 kB / 0.5739 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.2107, allocations: 1.076 MB / 0.575 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2108, allocations: 0 / 0.575 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.2108, allocations: 34 kB / 0.575 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2108, allocations: 17.88 kB / 0.575 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2124, allocations: 1.119 MB / 0.5761 GB, free: 14.21 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.003516/0.2159, allocations: 2.61 MB / 0.5786 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2173, allocations: 0.8855 MB / 0.5795 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.2183, allocations: 0.7043 MB / 0.5802 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.2184, allocations: 13.84 kB / 0.5802 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2184, allocations: 40.62 kB / 0.5802 GB, free: 12.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.344e-06/0.2184, allocations: 5.156 kB / 0.5803 GB, free: 12.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01347/0.2319, allocations: 6.505 MB / 0.5866 GB, free: 11.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2319, allocations: 62.5 kB / 0.5867 GB, free: 11.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.2327, allocations: 0.9175 MB / 0.5876 GB, free: 10.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.2327, allocations: 44.95 kB / 0.5876 GB, free: 10.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2329, allocations: 0.5013 MB / 0.5881 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.2331, allocations: 360.5 kB / 0.5884 GB, free: 9.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.2334, allocations: 199.4 kB / 0.5886 GB, free: 9.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.2334, allocations: 348.1 kB / 0.589 GB, free: 9.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009918/0.2344, allocations: 0.722 MB / 0.5897 GB, free: 8.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.2355, allocations: 0.846 MB / 0.5905 GB, free: 8.477 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.2455, allocations: 4.943 MB / 0.5953 GB, free: 6.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2455, allocations: 0 / 0.5953 GB, free: 6.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006852/0.2524, allocations: 4.252 MB / 0.5995 GB, free: 4.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2524, allocations: 4.875 kB / 0.5995 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2524, allocations: 3.188 kB / 0.5995 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.2554, allocations: 1.81 MB / 0.6012 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.2559, allocations: 209.3 kB / 0.6014 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.2679, allocations: 9.022 MB / 0.6103 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/0.2687, allocations: 182.1 kB / 0.6104 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.2688, allocations: 39.98 kB / 0.6105 GB, free: 9.473 MB / 458.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.000391/0.2692, allocations: 251.9 kB / 0.6107 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2693, allocations: 123.2 kB / 0.6108 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/0.2761, allocations: 3.986 MB / 0.6147 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2761, allocations: 11.5 kB / 0.6147 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2761, allocations: 0 / 0.6147 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2761, allocations: 3.984 kB / 0.6147 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.2841, allocations: 4.978 MB / 0.6196 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2841, allocations: 0 / 0.6196 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.2845, allocations: 134.4 kB / 0.6197 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.2876, allocations: 1.74 MB / 0.6214 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.2876, allocations: 16 kB / 0.6214 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.2977, allocations: 7.775 MB / 0.629 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2977, allocations: 3.938 kB / 0.629 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/0.3055, allocations: 4.945 MB / 0.6339 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.3057, allocations: 138.9 kB / 0.634 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.3058, allocations: 16 kB / 0.634 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.3063, allocations: 107.9 kB / 0.6341 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/0.3067, allocations: 224.6 kB / 0.6343 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.3068, allocations: 27.98 kB / 0.6344 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005126/0.3073, allocations: 0.6051 MB / 0.6349 GB, free: 348 kB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 0.6349 GB, free: 348 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008746/0.3082, allocations: 443.7 kB / 0.6354 GB, free: 15.9 MB / 490.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.00795/0.3161, allocations: 5.528 MB / 0.6408 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00374/0.3198, allocations: 2.375 MB / 0.6431 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3198, allocations: 4 kB / 0.6431 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.3222, allocations: 1.533 MB / 0.6446 GB, free: 6.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.3227, allocations: 84.42 kB / 0.6447 GB, free: 6.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/0.3434, allocations: 15.25 MB / 0.6596 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3438, allocations: 0.5137 MB / 0.6601 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.344, allocations: 86.89 kB / 0.6601 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.3444, allocations: 448.3 kB / 0.6606 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of SimCode: time 2.074e-06/0.3444, allocations: 0 / 0.6606 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.3853, allocations: 36.22 MB / 0.6959 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.879, allocations: 7.359 kB / 0.6959 GB, free: 1.957 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.635216580703855] Failed to read output from testmodel.py, exit status != 0: 8.984703429043293 8.995216774 8.792366501 Calling exit ...