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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.453/1.453, allocations: 230.6 MB / 252.6 MB, free: 8.27 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.001842/0.001842, allocations: 225.2 kB / 309.2 MB, free: 3.145 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.4952/0.4952, allocations: 79.73 MB / 445.4 MB, free: 14.85 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_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: 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.002532/0.002532, allocations: 87.86 kB / 0.5929 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1398, allocations: 73.3 MB / 0.6645 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008217/0.148, allocations: 6.56 MB / 0.6709 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.1524, allocations: 1.978 MB / 0.6729 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009183/0.1533, allocations: 11.94 kB / 0.6729 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007976/0.1541, allocations: 229.9 kB / 0.6731 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.1567, allocations: 0.7829 MB / 0.6739 GB, free: 10.97 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.001791/0.1585, allocations: 0.6535 MB / 0.6745 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.1607, allocations: 1.429 MB / 0.6759 GB, free: 8.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.1612, allocations: 236.8 kB / 0.6761 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1624, allocations: 0.6185 MB / 0.6767 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1636, allocations: 0.7388 MB / 0.6774 GB, free: 7.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.1639, allocations: 100 kB / 0.6775 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006912/0.1646, allocations: 259.8 kB / 0.6778 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.1649, allocations: 274.8 kB / 0.678 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008327/0.1658, allocations: 0.629 MB / 0.6787 GB, free: 6.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.1679, allocations: 1.548 MB / 0.6802 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1679, allocations: 4 kB / 0.6802 GB, free: 4.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1679, allocations: 0 / 0.6802 GB, free: 4.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.179e-05/0.168, allocations: 0 / 0.6802 GB, free: 4.473 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008871/0.1769, allocations: 2.549 MB / 0.6827 GB, free: 1.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1769, allocations: 15.98 kB / 0.6827 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.1771, allocations: 130.8 kB / 0.6828 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/0.1825, allocations: 0.8186 MB / 0.6836 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.184, allocations: 0.7209 MB / 0.6843 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.1843, allocations: 319.5 kB / 0.6846 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.1845, allocations: 76 kB / 0.6847 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.1869, allocations: 1.085 MB / 0.6857 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1869, allocations: 4 kB / 0.6858 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.187, allocations: 28 kB / 0.6858 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.187, allocations: 20 kB / 0.6858 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.1896, allocations: 1.124 MB / 0.6869 GB, free: 13.44 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.006555/0.1962, allocations: 3.418 MB / 0.6902 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.1983, allocations: 0.8929 MB / 0.6911 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.2, allocations: 0.7031 MB / 0.6918 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.2001, allocations: 20.97 kB / 0.6918 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.2002, allocations: 43.56 kB / 0.6919 GB, free: 8.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 2.966e-06/0.2002, allocations: 0 / 0.6919 GB, free: 8.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02494/0.2251, allocations: 6.506 MB / 0.6982 GB, free: 1.684 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2252, allocations: 60.41 kB / 0.6983 GB, free: 1.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.2265, allocations: 0.9008 MB / 0.6991 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.2267, allocations: 41.7 kB / 0.6992 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.2271, allocations: 0.4897 MB / 0.6997 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2778/0.5049, allocations: 365.3 kB / 0.7 GB, free: 33.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.5053, allocations: 207.8 kB / 0.7002 GB, free: 33.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.5054, allocations: 355 kB / 0.7005 GB, free: 33.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.507, allocations: 0.7326 MB / 0.7013 GB, free: 33.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.5086, allocations: 0.8632 MB / 0.7021 GB, free: 33.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/0.5278, allocations: 4.959 MB / 0.7069 GB, free: 32.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.5278, allocations: 2.75 kB / 0.707 GB, free: 32.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01386/0.5416, allocations: 4.254 MB / 0.7111 GB, free: 32.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5417, allocations: 6.156 kB / 0.7111 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5417, allocations: 2.594 kB / 0.7111 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006569/0.5482, allocations: 1.736 MB / 0.7128 GB, free: 32.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5494, allocations: 230.1 kB / 0.713 GB, free: 32.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.5726, allocations: 8.955 MB / 0.7218 GB, free: 28.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5742, allocations: 182.7 kB / 0.7219 GB, free: 28.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.5744, allocations: 40.03 kB / 0.722 GB, free: 28.03 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.0005869/0.575, allocations: 245.4 kB / 0.7222 GB, free: 27.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.5753, allocations: 123.6 kB / 0.7223 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/0.5915, allocations: 3.979 MB / 0.7262 GB, free: 26.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.5915, allocations: 16.41 kB / 0.7262 GB, free: 26.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5915, allocations: 4.891 kB / 0.7262 GB, free: 26.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.5915, allocations: 3.984 kB / 0.7262 GB, free: 26.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6052, allocations: 5.541 MB / 0.7317 GB, free: 23.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6052, allocations: 0 / 0.7317 GB, free: 23.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/0.6059, allocations: 135.1 kB / 0.7318 GB, free: 23.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005239/0.6111, allocations: 1.731 MB / 0.7335 GB, free: 22.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.6113, allocations: 15.94 kB / 0.7335 GB, free: 22.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.6269, allocations: 7.975 MB / 0.7413 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6269, allocations: 4 kB / 0.7413 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.6402, allocations: 4.928 MB / 0.7461 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.6405, allocations: 136 kB / 0.7462 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.6407, allocations: 16 kB / 0.7462 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6417, allocations: 107.9 kB / 0.7463 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/0.6423, allocations: 232.5 kB / 0.7466 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.6423, allocations: 24 kB / 0.7466 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005864/0.6429, allocations: 0.6048 MB / 0.7472 GB, free: 9.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6429, allocations: 0 / 0.7472 GB, free: 9.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001154/0.6441, allocations: 447.1 kB / 0.7476 GB, free: 9.191 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.01365/0.6577, allocations: 5.508 MB / 0.753 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006306/0.664, allocations: 2.365 MB / 0.7553 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.664, allocations: 4 kB / 0.7553 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00442/0.6685, allocations: 1.527 MB / 0.7568 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.6693, allocations: 84.41 kB / 0.7569 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.7092, allocations: 15.42 MB / 0.7719 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.71, allocations: 1.095 MB / 0.773 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004088/0.7104, allocations: 94.88 kB / 0.7731 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/0.711, allocations: 451.3 kB / 0.7735 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.711, allocations: 0 / 0.7735 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08169/0.7927, allocations: 34.91 MB / 0.8076 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/18.99, allocations: 12.05 kB / 0.8076 GB, free: 11.67 MB / 0.545 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 22.64157355297357] Failed to read output from testmodel.py, exit status != 0: 19.123869683826342 19.150237667 18.977321859 Calling exit ...