Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07929/0.07929, allocations: 12.36 MB / 28.71 MB, free: 0.6328 MB / 19.63 MB " [Timeout remaining time 180] 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.001272/0.001272, allocations: 111.2 kB / 34.42 MB, free: 1.715 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 207.6 MB / 247.6 MB, free: 11.43 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.001613/0.001613, allocations: 224.4 kB / 302.5 MB, free: 6.184 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4556/0.4556, allocations: 79.72 MB / 436.9 MB, free: 4.559 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003924/0.003924, allocations: 140.7 kB / 0.5819 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.137, allocations: 71.92 MB / 0.6521 GB, free: 108 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00772/0.1447, allocations: 6.56 MB / 0.6586 GB, free: 9.504 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1485, allocations: 1.846 MB / 0.6604 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.1489, allocations: 19.88 kB / 0.6604 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.1494, allocations: 218 kB / 0.6606 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.1511, allocations: 0.7793 MB / 0.6613 GB, free: 6.637 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001329/0.1525, allocations: 0.6111 MB / 0.6619 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1541, allocations: 1.429 MB / 0.6633 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.1545, allocations: 228.3 kB / 0.6636 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.1552, allocations: 0.6146 MB / 0.6642 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008149/0.156, allocations: 0.7426 MB / 0.6649 GB, free: 3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.1562, allocations: 100 kB / 0.665 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.1566, allocations: 239.9 kB / 0.6652 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1569, allocations: 278.8 kB / 0.6655 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.1574, allocations: 0.6252 MB / 0.6661 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.159, allocations: 1.525 MB / 0.6676 GB, free: 240 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.159, allocations: 3.984 kB / 0.6676 GB, free: 236 kB / 462.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.159, allocations: 4 kB / 0.6676 GB, free: 232 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.159, allocations: 0 / 0.6676 GB, free: 232 kB / 462.1 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.008179/0.1672, allocations: 2.594 MB / 0.6701 GB, free: 13.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1673, allocations: 23.92 kB / 0.6701 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.1674, allocations: 126.8 kB / 0.6703 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.1725, allocations: 0.7874 MB / 0.671 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.1738, allocations: 0.7773 MB / 0.6718 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.1741, allocations: 264.2 kB / 0.672 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1743, allocations: 76 kB / 0.6721 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.1767, allocations: 1.085 MB / 0.6732 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1767, allocations: 0 / 0.6732 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/0.1768, allocations: 32 kB / 0.6732 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.1768, allocations: 24 kB / 0.6732 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.1794, allocations: 1.12 MB / 0.6743 GB, free: 9.156 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.006161/0.1856, allocations: 3.456 MB / 0.6777 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.1879, allocations: 1.346 MB / 0.679 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.1896, allocations: 0.7031 MB / 0.6797 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1897, allocations: 16.97 kB / 0.6797 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1897, allocations: 47.56 kB / 0.6798 GB, free: 3.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.916e-06/0.1897, allocations: 0 / 0.6798 GB, free: 3.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02642/0.2161, allocations: 6.571 MB / 0.6862 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.2162, allocations: 68.41 kB / 0.6862 GB, free: 12.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2174, allocations: 0.8884 MB / 0.6871 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.2176, allocations: 37.7 kB / 0.6871 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.218, allocations: 0.5012 MB / 0.6876 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.2184, allocations: 364.9 kB / 0.688 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.2188, allocations: 210.9 kB / 0.6882 GB, free: 10.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.219, allocations: 349.9 kB / 0.6885 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.2208, allocations: 0.7326 MB / 0.6892 GB, free: 9.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.2227, allocations: 0.8773 MB / 0.6901 GB, free: 8.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/0.2423, allocations: 4.842 MB / 0.6948 GB, free: 3.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2423, allocations: 0 / 0.6948 GB, free: 3.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.2672/0.5095, allocations: 4.244 MB / 0.699 GB, free: 41.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.5095, allocations: 6.156 kB / 0.699 GB, free: 41.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.5095, allocations: 7.859 kB / 0.699 GB, free: 41.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006427/0.5159, allocations: 1.724 MB / 0.7007 GB, free: 41.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5172, allocations: 231.2 kB / 0.7009 GB, free: 41.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.5393, allocations: 9.051 MB / 0.7097 GB, free: 37.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5409, allocations: 179.4 kB / 0.7099 GB, free: 37.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.5411, allocations: 43.53 kB / 0.7099 GB, free: 37.86 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 (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.0005058/0.5416, allocations: 253.5 kB / 0.7102 GB, free: 37.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.5418, allocations: 132.7 kB / 0.7103 GB, free: 37.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.5556, allocations: 3.973 MB / 0.7142 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5556, allocations: 13.59 kB / 0.7142 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5556, allocations: 0 / 0.7142 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.5556, allocations: 8.625 kB / 0.7142 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5701, allocations: 5.568 MB / 0.7196 GB, free: 34.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5701, allocations: 5.375 kB / 0.7196 GB, free: 34.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.5708, allocations: 129.1 kB / 0.7198 GB, free: 34.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005886/0.5767, allocations: 1.739 MB / 0.7215 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.5769, allocations: 16.47 kB / 0.7215 GB, free: 34.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/0.5944, allocations: 8.062 MB / 0.7293 GB, free: 29.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5944, allocations: 0 / 0.7293 GB, free: 29.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.6085, allocations: 4.929 MB / 0.7342 GB, free: 27.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.6089, allocations: 210.7 kB / 0.7344 GB, free: 26.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.6091, allocations: 14.88 kB / 0.7344 GB, free: 26.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6101, allocations: 110.5 kB / 0.7345 GB, free: 26.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/0.6108, allocations: 219.3 kB / 0.7347 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.6108, allocations: 19.84 kB / 0.7347 GB, free: 26.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.6115, allocations: 0.6042 MB / 0.7353 GB, free: 26.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6115, allocations: 1.641 kB / 0.7353 GB, free: 26.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001393/0.6129, allocations: 440 kB / 0.7357 GB, free: 26.3 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 (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.01417/0.6271, allocations: 5.517 MB / 0.7411 GB, free: 20.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006255/0.6333, allocations: 2.377 MB / 0.7434 GB, free: 18.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6333, allocations: 3.844 kB / 0.7434 GB, free: 18.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.6377, allocations: 1.524 MB / 0.7449 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.6384, allocations: 92.97 kB / 0.745 GB, free: 16.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/0.6724, allocations: 15.34 MB / 0.76 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.6728, allocations: 1.095 MB / 0.7611 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.6732, allocations: 94.75 kB / 0.7612 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/0.6739, allocations: 453.5 kB / 0.7616 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.6739, allocations: 0 / 0.7616 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07462/0.7485, allocations: 33.86 MB / 0.7947 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.36, allocations: 16.19 kB / 0.7947 GB, free: 13.8 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.827936158995726] Failed to read output from testmodel.py, exit status != 0: 17.467918518013903 17.494246443 17.330426766 Calling exit ...