Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001599/0.001599, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.417/1.417, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001547/0.001547, allocations: 214.2 kB / 309.2 MB, free: 3.137 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.4459/0.4459, allocations: 79.74 MB / 445.4 MB, free: 14.84 MB / 318.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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",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.002586/0.002586, allocations: 79.88 kB / 0.5929 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1304, allocations: 73.29 MB / 0.6645 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006959/0.1374, allocations: 5.842 MB / 0.6702 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.1412, allocations: 1.798 MB / 0.672 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.1418, allocations: 8 kB / 0.672 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.1424, allocations: 210.2 kB / 0.6722 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.1442, allocations: 0.7501 MB / 0.6729 GB, free: 11.92 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.1456, allocations: 0.5693 MB / 0.6735 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.1472, allocations: 1.257 MB / 0.6747 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.1476, allocations: 191.6 kB / 0.6749 GB, free: 9.895 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.1484, allocations: 0.5484 MB / 0.6754 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.1492, allocations: 0.6417 MB / 0.676 GB, free: 8.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.1494, allocations: 91.94 kB / 0.6761 GB, free: 8.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1499, allocations: 235.9 kB / 0.6764 GB, free: 8.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1501, allocations: 242.9 kB / 0.6766 GB, free: 8.141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.1506, allocations: 0.5476 MB / 0.6771 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.1525, allocations: 1.377 MB / 0.6785 GB, free: 6.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1525, allocations: 0 / 0.6785 GB, free: 6.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1525, allocations: 0 / 0.6785 GB, free: 6.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.1525, allocations: 4 kB / 0.6785 GB, free: 6.203 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008211/0.1607, allocations: 2.327 MB / 0.6807 GB, free: 3.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1608, allocations: 11.98 kB / 0.6808 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.1609, allocations: 118.5 kB / 0.6809 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.166, allocations: 0.7641 MB / 0.6816 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.1674, allocations: 0.6414 MB / 0.6822 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.1677, allocations: 307.5 kB / 0.6825 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.1679, allocations: 67.95 kB / 0.6826 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.17, allocations: 0.9637 MB / 0.6835 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.17, allocations: 0 / 0.6835 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.1701, allocations: 27.98 kB / 0.6836 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1701, allocations: 20 kB / 0.6836 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.1724, allocations: 0.9761 MB / 0.6845 GB, free: 15.85 MB / 494.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.00605/0.1784, allocations: 3.127 MB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.1804, allocations: 0.7744 MB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.1818, allocations: 0.6329 MB / 0.689 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.1819, allocations: 16.88 kB / 0.689 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.182, allocations: 47.5 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/0.182, allocations: 0 / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.02584/0.2078, allocations: 6.381 MB / 0.6953 GB, free: 4.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.2079, allocations: 64.34 kB / 0.6953 GB, free: 4.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.209, allocations: 0.7946 MB / 0.6961 GB, free: 3.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.2091, allocations: 37.7 kB / 0.6961 GB, free: 3.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.2095, allocations: 445 kB / 0.6966 GB, free: 3.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.2099, allocations: 309.3 kB / 0.6969 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.2102, allocations: 186.9 kB / 0.697 GB, free: 2.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2104, allocations: 349.9 kB / 0.6974 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.212, allocations: 0.6584 MB / 0.698 GB, free: 1.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.2136, allocations: 0.7874 MB / 0.6988 GB, free: 1.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2536/0.4672, allocations: 4.63 MB / 0.7033 GB, free: 33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.4672, allocations: 0 / 0.7033 GB, free: 33 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0136/0.4808, allocations: 4.046 MB / 0.7072 GB, free: 32.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4808, allocations: 6.406 kB / 0.7073 GB, free: 32.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4809, allocations: 2.969 kB / 0.7073 GB, free: 32.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006102/0.487, allocations: 1.73 MB / 0.7089 GB, free: 32.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.488, allocations: 189.6 kB / 0.7091 GB, free: 32.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.5087, allocations: 8.964 MB / 0.7179 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5101, allocations: 155.8 kB / 0.718 GB, free: 29.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5102, allocations: 36.83 kB / 0.7181 GB, free: 29.3 MB / 494.1 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 (101): * Single equations (assignments): 100 * 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.0004003/0.5106, allocations: 230 kB / 0.7183 GB, free: 29.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.5108, allocations: 108.4 kB / 0.7184 GB, free: 29.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.5225, allocations: 3.782 MB / 0.7221 GB, free: 28.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5225, allocations: 8.125 kB / 0.7221 GB, free: 28.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5225, allocations: 1.031 kB / 0.7221 GB, free: 28.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.5225, allocations: 9.188 kB / 0.7221 GB, free: 28.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.5358, allocations: 5.313 MB / 0.7273 GB, free: 25.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.5358, allocations: 0 / 0.7273 GB, free: 25.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.5364, allocations: 93.86 kB / 0.7274 GB, free: 25.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005254/0.5416, allocations: 1.735 MB / 0.7291 GB, free: 24.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.5418, allocations: 16.12 kB / 0.7291 GB, free: 24.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.5576, allocations: 7.956 MB / 0.7369 GB, free: 19.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5576, allocations: 3.938 kB / 0.7369 GB, free: 19.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.57, allocations: 4.712 MB / 0.7415 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.5703, allocations: 115 kB / 0.7416 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5704, allocations: 15.94 kB / 0.7416 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.5712, allocations: 91.89 kB / 0.7417 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/0.5718, allocations: 216.6 kB / 0.7419 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.5718, allocations: 16.88 kB / 0.7419 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005193/0.5724, allocations: 0.5324 MB / 0.7424 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5724, allocations: 0 / 0.7424 GB, free: 14.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001092/0.5735, allocations: 417.4 kB / 0.7428 GB, free: 13.88 MB / 494.1 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 (50): * Single equations (assignments): 49 * 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.01271/0.5862, allocations: 5.29 MB / 0.748 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00553/0.5917, allocations: 2.204 MB / 0.7501 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5917, allocations: 0 / 0.7501 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.5956, allocations: 1.442 MB / 0.7515 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.5963, allocations: 80.59 kB / 0.7516 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/0.6305, allocations: 14.13 MB / 0.7654 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.6311, allocations: 1.029 MB / 0.7664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.6315, allocations: 78.31 kB / 0.7665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.632, allocations: 379.3 kB / 0.7669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.632, allocations: 0 / 0.7669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/0.7054, allocations: 32.14 MB / 0.7982 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.37, allocations: 9.672 kB / 0.7983 GB, free: 5.043 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.748976742001105] Failed to read output from testmodel.py, exit status != 0: 17.50729590999981 17.531683138 17.374559965 Calling exit ...