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.001308/0.001308, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.445/1.445, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.00161/0.00161, allocations: 228.1 kB / 310 MB, free: 3.141 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.4987/0.4987, allocations: 79.74 MB / 446.2 MB, free: 38.92 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="cs",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.00246/0.00246, allocations: 84.95 kB / 0.5937 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1418, allocations: 73.3 MB / 0.6653 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008037/0.1498, allocations: 6.56 MB / 0.6717 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.1549, allocations: 1.971 MB / 0.6736 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.1563, allocations: 15.94 kB / 0.6736 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.157, allocations: 226 kB / 0.6739 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.1594, allocations: 0.7903 MB / 0.6746 GB, free: 8.539 MB / 462.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.001582/0.161, allocations: 0.6263 MB / 0.6752 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.1631, allocations: 1.448 MB / 0.6767 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.1636, allocations: 232.8 kB / 0.6769 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1646, allocations: 0.6068 MB / 0.6775 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.1656, allocations: 0.7505 MB / 0.6782 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1658, allocations: 100 kB / 0.6783 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.1664, allocations: 255.9 kB / 0.6785 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.1666, allocations: 278.8 kB / 0.6788 GB, free: 4.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.1673, allocations: 0.6329 MB / 0.6794 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.1692, allocations: 1.54 MB / 0.6809 GB, free: 2.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1692, allocations: 4 kB / 0.6809 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1692, allocations: 0 / 0.6809 GB, free: 2.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.1693, allocations: 3.938 kB / 0.6809 GB, free: 2.051 MB / 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.008743/0.178, allocations: 2.553 MB / 0.6834 GB, free: 15.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.178, allocations: 12.02 kB / 0.6834 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.129e-05/0.1781, allocations: 26 kB / 0.6835 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.1782, allocations: 122.8 kB / 0.6836 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.1837, allocations: 0.8186 MB / 0.6844 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.1855, allocations: 0.7248 MB / 0.6851 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.1858, allocations: 315.6 kB / 0.6854 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.186, allocations: 79.94 kB / 0.6855 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.1887, allocations: 1.085 MB / 0.6865 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1887, allocations: 0 / 0.6865 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.1888, allocations: 32 kB / 0.6866 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1888, allocations: 23.98 kB / 0.6866 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.1916, allocations: 1.124 MB / 0.6877 GB, free: 11 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.006793/0.1984, allocations: 3.403 MB / 0.691 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.2006, allocations: 0.9018 MB / 0.6919 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.2023, allocations: 0.707 MB / 0.6926 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-05/0.2024, allocations: 9 kB / 0.6926 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.2024, allocations: 47.55 kB / 0.6926 GB, free: 5.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.625e-06/0.2024, allocations: 3.938 kB / 0.6926 GB, free: 5.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02679/0.2292, allocations: 6.502 MB / 0.699 GB, free: 15.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2293, allocations: 68.34 kB / 0.699 GB, free: 15.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.2307, allocations: 0.8969 MB / 0.6999 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.231, allocations: 41.7 kB / 0.7 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.2314, allocations: 0.4936 MB / 0.7004 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.2319, allocations: 372.8 kB / 0.7008 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000538/0.2325, allocations: 210.9 kB / 0.701 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2327, allocations: 353.9 kB / 0.7013 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.2345, allocations: 0.7248 MB / 0.702 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.2365, allocations: 0.8658 MB / 0.7029 GB, free: 11.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02071/0.2572, allocations: 4.959 MB / 0.7077 GB, free: 6.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.2572, allocations: 0 / 0.7077 GB, free: 6.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01539/0.2726, allocations: 4.254 MB / 0.7119 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.2726, allocations: 11.98 kB / 0.7119 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2726, allocations: 0 / 0.7119 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/0.2792, allocations: 1.722 MB / 0.7136 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.2805, allocations: 227.7 kB / 0.7138 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/0.304, allocations: 8.986 MB / 0.7226 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.3056, allocations: 179.2 kB / 0.7227 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.3059, allocations: 43.98 kB / 0.7228 GB, free: 6.602 MB / 0.4981 GB 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.0008307/0.3067, allocations: 241.6 kB / 0.723 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.3072, allocations: 135.1 kB / 0.7231 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.3216, allocations: 3.971 MB / 0.727 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.3216, allocations: 8 kB / 0.727 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3216, allocations: 0 / 0.727 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/0.3217, allocations: 3.984 kB / 0.727 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.3386, allocations: 5.555 MB / 0.7325 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.3386, allocations: 0 / 0.7325 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.3394, allocations: 127.8 kB / 0.7326 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006436/0.3459, allocations: 1.741 MB / 0.7343 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.3461, allocations: 16 kB / 0.7343 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.3668, allocations: 7.966 MB / 0.7421 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3668, allocations: 0 / 0.7421 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.3832, allocations: 4.937 MB / 0.7469 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.3836, allocations: 134.9 kB / 0.747 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.384, allocations: 19.98 kB / 0.747 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.3852, allocations: 107.9 kB / 0.7471 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/0.386, allocations: 228.6 kB / 0.7474 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.3861, allocations: 24 kB / 0.7474 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009675/0.3871, allocations: 0.6012 MB / 0.748 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3871, allocations: 0 / 0.748 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00147/0.3886, allocations: 439.7 kB / 0.7484 GB, free: 12.06 MB / 0.5294 GB 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.01694/0.4055, allocations: 5.518 MB / 0.7538 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007521/0.413, allocations: 2.365 MB / 0.7561 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.413, allocations: 4 kB / 0.7561 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005341/0.4184, allocations: 1.523 MB / 0.7576 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.4194, allocations: 84.36 kB / 0.7577 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/0.4618, allocations: 15.42 MB / 0.7727 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.4627, allocations: 1.107 MB / 0.7738 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004772/0.4631, allocations: 90.88 kB / 0.7739 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.4638, allocations: 455.3 kB / 0.7743 GB, free: 1.219 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/0.4638, allocations: 0 / 0.7743 GB, free: 1.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4143/0.8782, allocations: 34.93 MB / 0.8084 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/18.97, allocations: 10.8 kB / 0.8084 GB, free: 132.9 MB / 0.5762 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.81788004608825] Failed to read output from testmodel.py, exit status != 0: 19.167994083021767 19.196135819 19.021524246 Calling exit ...