Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.001234/0.001234, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8914/0.8914, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001094/0.001094, allocations: 168.6 kB / 256 MB, free: 13.33 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.268/0.268, allocations: 80.25 MB / 392.6 MB, free: 2.441 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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.655e-05, allocations: 8.953 kB / 0.5548 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004244/0.004261, allocations: 5.738 MB / 0.5604 GB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.006675, allocations: 1.919 MB / 0.5623 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.006972, allocations: 15.94 kB / 0.5623 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.007334, allocations: 229.9 kB / 0.5625 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.008373, allocations: 0.7672 MB / 0.5633 GB, free: 3.578 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.009095, allocations: 0.6559 MB / 0.5639 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009021/0.009997, allocations: 1.49 MB / 0.5654 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.01027, allocations: 212.9 kB / 0.5656 GB, free: 1.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.01088, allocations: 0.8415 MB / 0.5664 GB, free: 380 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1891/0.2, allocations: 0.5658 MB / 0.5669 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.2004, allocations: 101 kB / 0.567 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.2009, allocations: 246.6 kB / 0.5673 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2011, allocations: 285.8 kB / 0.5676 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.2015, allocations: 418.2 kB / 0.568 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.2029, allocations: 1.582 MB / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2029, allocations: 3.594 kB / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2029, allocations: 0 / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2029, allocations: 0 / 0.5695 GB, free: 16.05 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004105/0.207, allocations: 2.538 MB / 0.572 GB, free: 15.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2071, allocations: 8.438 kB / 0.572 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.2072, allocations: 129.1 kB / 0.5721 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.2097, allocations: 0.8172 MB / 0.5729 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.2105, allocations: 0.7295 MB / 0.5736 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.2107, allocations: 311 kB / 0.5739 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2108, allocations: 79.47 kB / 0.574 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2122, allocations: 1.085 MB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2122, allocations: 1.375 kB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.2123, allocations: 30.17 kB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2123, allocations: 19.78 kB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.2139, allocations: 1.116 MB / 0.5762 GB, free: 14.18 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.003489/0.2173, allocations: 2.645 MB / 0.5788 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2187, allocations: 0.8822 MB / 0.5796 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.2197, allocations: 0.7071 MB / 0.5803 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.2198, allocations: 16.83 kB / 0.5803 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.2198, allocations: 45.48 kB / 0.5804 GB, free: 12.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.043e-06/0.2198, allocations: 0 / 0.5804 GB, free: 12.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01384/0.2337, allocations: 6.772 MB / 0.587 GB, free: 10.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2337, allocations: 65.42 kB / 0.5871 GB, free: 10.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.2344, allocations: 0.9095 MB / 0.5879 GB, free: 10.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.2345, allocations: 45.39 kB / 0.588 GB, free: 10.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2347, allocations: 0.4962 MB / 0.5885 GB, free: 9.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.2349, allocations: 360.9 kB / 0.5888 GB, free: 9.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.2351, allocations: 201.7 kB / 0.589 GB, free: 9.422 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.2352, allocations: 352.3 kB / 0.5893 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.2362, allocations: 0.7235 MB / 0.5901 GB, free: 8.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2373, allocations: 0.8669 MB / 0.5909 GB, free: 8.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.2473, allocations: 4.952 MB / 0.5957 GB, free: 5.855 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2473, allocations: 1.594 kB / 0.5957 GB, free: 5.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007368/0.2547, allocations: 4.254 MB / 0.5999 GB, free: 3.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2547, allocations: 5.25 kB / 0.5999 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2547, allocations: 2.625 kB / 0.5999 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.2576, allocations: 1.733 MB / 0.6016 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.2582, allocations: 227.7 kB / 0.6018 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.27, allocations: 8.768 MB / 0.6104 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.2708, allocations: 183.2 kB / 0.6105 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.2708, allocations: 39.98 kB / 0.6106 GB, free: 9.34 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000384/0.2712, allocations: 242.2 kB / 0.6108 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.2713, allocations: 123.2 kB / 0.6109 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.2783, allocations: 3.978 MB / 0.6148 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2783, allocations: 8 kB / 0.6148 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2783, allocations: 7.875 kB / 0.6148 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2783, allocations: 3.984 kB / 0.6148 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/0.2864, allocations: 4.985 MB / 0.6197 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2864, allocations: 3.609 kB / 0.6197 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.2867, allocations: 131.2 kB / 0.6198 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/0.2901, allocations: 1.737 MB / 0.6215 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.2902, allocations: 19.38 kB / 0.6215 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.3007, allocations: 7.773 MB / 0.6291 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3007, allocations: 0 / 0.6291 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/0.309, allocations: 4.936 MB / 0.634 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3092, allocations: 131 kB / 0.6341 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3093, allocations: 20 kB / 0.6341 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.3098, allocations: 107.9 kB / 0.6342 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/0.3104, allocations: 228.5 kB / 0.6344 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.3105, allocations: 27.98 kB / 0.6345 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005342/0.311, allocations: 0.6005 MB / 0.635 GB, free: 236 kB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.311, allocations: 0 / 0.635 GB, free: 236 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.312, allocations: 443.7 kB / 0.6355 GB, free: 15.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.008631/0.3206, allocations: 5.516 MB / 0.6408 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003956/0.3246, allocations: 2.362 MB / 0.6432 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3246, allocations: 0 / 0.6432 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.327, allocations: 1.528 MB / 0.6446 GB, free: 6.398 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3276, allocations: 87.7 kB / 0.6447 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.3493, allocations: 15.28 MB / 0.6597 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3497, allocations: 0.5098 MB / 0.6602 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.3499, allocations: 91.41 kB / 0.6602 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.3503, allocations: 452.3 kB / 0.6607 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.3503, allocations: 0 / 0.6607 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.3918, allocations: 36.01 MB / 0.6958 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/10.02, allocations: 4.062 kB / 0.6958 GB, free: 2.035 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.389611266553402] Failed to read output from testmodel.py, exit status != 0: 10.131931602954865 10.140824504 9.936082915 Calling exit ...