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.001478/0.001478, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 14.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.001589/0.001589, allocations: 209.4 kB / 310 MB, free: 3.047 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.4879/0.4879, allocations: 79.74 MB / 446.2 MB, free: 40.33 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.00242/0.00242, allocations: 84.89 kB / 0.5936 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1139, allocations: 73.29 MB / 0.6652 GB, free: 412 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00704/0.1209, allocations: 5.743 MB / 0.6708 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.1251, allocations: 1.877 MB / 0.6726 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.1258, allocations: 15.94 kB / 0.6727 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.1263, allocations: 222 kB / 0.6729 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.1283, allocations: 0.7623 MB / 0.6736 GB, free: 9.195 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.001374/0.1297, allocations: 0.6289 MB / 0.6742 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.1313, allocations: 1.429 MB / 0.6756 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.1318, allocations: 240.8 kB / 0.6759 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.1326, allocations: 0.6107 MB / 0.6765 GB, free: 6.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008701/0.1334, allocations: 0.7466 MB / 0.6772 GB, free: 5.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.1336, allocations: 100 kB / 0.6773 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.1341, allocations: 259.8 kB / 0.6775 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.1343, allocations: 274.8 kB / 0.6778 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.1348, allocations: 0.5126 MB / 0.6783 GB, free: 4.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1366, allocations: 1.56 MB / 0.6798 GB, free: 2.828 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1366, allocations: 0 / 0.6798 GB, free: 2.828 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1366, allocations: 4 kB / 0.6798 GB, free: 2.824 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1366, allocations: 0 / 0.6798 GB, free: 2.824 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.008203/0.1448, allocations: 2.549 MB / 0.6823 GB, free: 240 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1448, allocations: 8.031 kB / 0.6823 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.077e-05/0.1449, allocations: 25.94 kB / 0.6823 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.145, allocations: 126.8 kB / 0.6825 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.1503, allocations: 0.8303 MB / 0.6833 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.1517, allocations: 0.7248 MB / 0.684 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.1521, allocations: 307.6 kB / 0.6843 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.1523, allocations: 80 kB / 0.6843 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.1547, allocations: 1.085 MB / 0.6854 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1547, allocations: 0 / 0.6854 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.1548, allocations: 32 kB / 0.6854 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.1548, allocations: 20 kB / 0.6855 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.1573, allocations: 1.12 MB / 0.6865 GB, free: 11.78 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.00573/0.1631, allocations: 2.623 MB / 0.6891 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.1651, allocations: 0.8932 MB / 0.69 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.1667, allocations: 0.707 MB / 0.6907 GB, free: 7.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1668, allocations: 9 kB / 0.6907 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.1669, allocations: 47.56 kB / 0.6907 GB, free: 7.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.387e-06/0.1669, allocations: 0 / 0.6907 GB, free: 7.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0257/0.1926, allocations: 6.506 MB / 0.6971 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.1927, allocations: 60.41 kB / 0.6971 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.194, allocations: 0.9047 MB / 0.698 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.1941, allocations: 45.7 kB / 0.6981 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.1946, allocations: 0.4935 MB / 0.6985 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.195, allocations: 364.9 kB / 0.6989 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.1954, allocations: 210.9 kB / 0.6991 GB, free: 14.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1956, allocations: 353.9 kB / 0.6994 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.1973, allocations: 0.7287 MB / 0.7001 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.1991, allocations: 0.8657 MB / 0.701 GB, free: 12.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02008/0.2192, allocations: 4.963 MB / 0.7058 GB, free: 7.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.2192, allocations: 0 / 0.7058 GB, free: 7.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01391/0.2331, allocations: 4.254 MB / 0.71 GB, free: 3.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.2331, allocations: 4 kB / 0.71 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.2332, allocations: 4 kB / 0.71 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006047/0.2392, allocations: 1.726 MB / 0.7117 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.2404, allocations: 227.7 kB / 0.7119 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.2616, allocations: 8.782 MB / 0.7205 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.2631, allocations: 179.2 kB / 0.7206 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.2632, allocations: 39.98 kB / 0.7207 GB, free: 8.473 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.0005196/0.2638, allocations: 241.8 kB / 0.7209 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.264, allocations: 135.1 kB / 0.721 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.2769, allocations: 3.975 MB / 0.7249 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.2769, allocations: 8 kB / 0.7249 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2769, allocations: 0 / 0.7249 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.2769, allocations: 3.984 kB / 0.7249 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.2916, allocations: 4.973 MB / 0.7298 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.2916, allocations: 0 / 0.7298 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.2924, allocations: 131.8 kB / 0.7299 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/0.2984, allocations: 1.737 MB / 0.7316 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.2985, allocations: 23.98 kB / 0.7316 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/0.3176, allocations: 7.76 MB / 0.7392 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3176, allocations: 11.92 kB / 0.7392 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.3332, allocations: 4.922 MB / 0.744 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.3336, allocations: 142.8 kB / 0.7442 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.3339, allocations: 19.98 kB / 0.7442 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.3351, allocations: 111.9 kB / 0.7443 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000824/0.3359, allocations: 224.7 kB / 0.7445 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.336, allocations: 28 kB / 0.7445 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009013/0.3369, allocations: 0.6012 MB / 0.7451 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 3.938 kB / 0.7451 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001426/0.3384, allocations: 435.7 kB / 0.7455 GB, free: 14.78 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.01581/0.3542, allocations: 5.507 MB / 0.7509 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.3614, allocations: 2.369 MB / 0.7532 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3614, allocations: 4.5 kB / 0.7532 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00507/0.3665, allocations: 1.526 MB / 0.7547 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3675, allocations: 92.36 kB / 0.7548 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/0.4076, allocations: 15.4 MB / 0.7699 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.4082, allocations: 0.5175 MB / 0.7704 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.4086, allocations: 94.88 kB / 0.7705 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/0.4094, allocations: 447.3 kB / 0.7709 GB, free: 4.527 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.4094, allocations: 0 / 0.7709 GB, free: 4.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.4834, allocations: 35.14 MB / 0.8052 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.59/19.08, allocations: 8 kB / 0.8052 GB, free: 1.566 MB / 0.5762 GB " [Timeout remaining time 640] (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: 23.064381976029836] Failed to read output from testmodel.py, exit status != 0: 19.527421450940892 19.539465274 19.400469943 Calling exit ...