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.001306/0.001306, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.424/1.424, allocations: 230.6 MB / 250.5 MB, free: 9.395 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.001544/0.001544, allocations: 203.6 kB / 306.7 MB, free: 4.348 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.4611/0.4611, allocations: 79.71 MB / 442.5 MB, free: 260 kB / 302.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.002363/0.002363, allocations: 87.86 kB / 0.5885 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1525, allocations: 73.26 MB / 0.6601 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008112/0.1606, allocations: 6.532 MB / 0.6664 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.1652, allocations: 1.966 MB / 0.6684 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006771/0.1658, allocations: 15.94 kB / 0.6684 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.1664, allocations: 230 kB / 0.6686 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.1684, allocations: 0.7844 MB / 0.6694 GB, free: 14.7 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.001461/0.1698, allocations: 0.6409 MB / 0.67 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.1716, allocations: 1.44 MB / 0.6714 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.172, allocations: 228.4 kB / 0.6716 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008627/0.1728, allocations: 0.6068 MB / 0.6722 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000887/0.1737, allocations: 0.7426 MB / 0.6729 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1739, allocations: 104 kB / 0.673 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.1744, allocations: 255.9 kB / 0.6733 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.1747, allocations: 278.8 kB / 0.6735 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.1753, allocations: 0.629 MB / 0.6742 GB, free: 9.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1772, allocations: 1.548 MB / 0.6757 GB, free: 8.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1772, allocations: 3.938 kB / 0.6757 GB, free: 8.211 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1772, allocations: 0 / 0.6757 GB, free: 8.211 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.1772, allocations: 0 / 0.6757 GB, free: 8.211 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.009014/0.1863, allocations: 2.633 MB / 0.6782 GB, free: 5.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.1863, allocations: 12.03 kB / 0.6782 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.924e-05/0.1864, allocations: 22 kB / 0.6783 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.1865, allocations: 130.8 kB / 0.6784 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/0.1921, allocations: 0.8147 MB / 0.6792 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.1941, allocations: 0.797 MB / 0.68 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/0.1945, allocations: 264.1 kB / 0.6802 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.1947, allocations: 80 kB / 0.6803 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.1975, allocations: 1.085 MB / 0.6814 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1975, allocations: 0 / 0.6814 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.1976, allocations: 32 kB / 0.6814 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.1976, allocations: 16 kB / 0.6814 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.2004, allocations: 1.124 MB / 0.6825 GB, free: 1.047 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.006787/0.2071, allocations: 3.457 MB / 0.6859 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.2095, allocations: 1.34 MB / 0.6872 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.2112, allocations: 0.7109 MB / 0.6879 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.2114, allocations: 16.97 kB / 0.6879 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2114, allocations: 39.56 kB / 0.6879 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/0.2114, allocations: 0 / 0.6879 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02687/0.2383, allocations: 6.579 MB / 0.6944 GB, free: 4.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.2383, allocations: 64.41 kB / 0.6944 GB, free: 4.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.2399, allocations: 0.9124 MB / 0.6953 GB, free: 3.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.2402, allocations: 45.7 kB / 0.6954 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.2406, allocations: 0.4897 MB / 0.6958 GB, free: 3.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/0.241, allocations: 368.8 kB / 0.6962 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.2415, allocations: 206.9 kB / 0.6964 GB, free: 2.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.2417, allocations: 353.9 kB / 0.6967 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.2435, allocations: 0.7326 MB / 0.6974 GB, free: 1.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.2454, allocations: 0.858 MB / 0.6983 GB, free: 492 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2956/0.5411, allocations: 4.959 MB / 0.7031 GB, free: 34.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5411, allocations: 1.578 kB / 0.7031 GB, free: 34.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01496/0.556, allocations: 4.255 MB / 0.7073 GB, free: 34.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.5561, allocations: 7.094 kB / 0.7073 GB, free: 34.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5561, allocations: 2.344 kB / 0.7073 GB, free: 34.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006593/0.5627, allocations: 1.726 MB / 0.709 GB, free: 34.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.5642, allocations: 228.2 kB / 0.7092 GB, free: 34.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/0.5865, allocations: 9.073 MB / 0.718 GB, free: 30.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5881, allocations: 175.4 kB / 0.7182 GB, free: 30.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5882, allocations: 48.19 kB / 0.7183 GB, free: 30.25 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.0004425/0.5886, allocations: 242.8 kB / 0.7185 GB, free: 30.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.5888, allocations: 131.1 kB / 0.7186 GB, free: 29.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.6018, allocations: 3.98 MB / 0.7225 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.6019, allocations: 9.625 kB / 0.7225 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6019, allocations: 1.375 kB / 0.7225 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.6019, allocations: 11.11 kB / 0.7225 GB, free: 28.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.6163, allocations: 5.572 MB / 0.728 GB, free: 25.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6163, allocations: 3.938 kB / 0.728 GB, free: 25.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.6171, allocations: 128.4 kB / 0.7281 GB, free: 25.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005783/0.6229, allocations: 1.739 MB / 0.7298 GB, free: 24.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.6231, allocations: 24.2 kB / 0.7298 GB, free: 24.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.6399, allocations: 8.051 MB / 0.7377 GB, free: 18.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6399, allocations: 4 kB / 0.7377 GB, free: 18.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.6541, allocations: 4.93 MB / 0.7425 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.6546, allocations: 210 kB / 0.7427 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6548, allocations: 17.81 kB / 0.7427 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6558, allocations: 111.9 kB / 0.7428 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/0.6565, allocations: 220.7 kB / 0.743 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.6565, allocations: 20 kB / 0.743 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006025/0.6571, allocations: 0.605 MB / 0.7436 GB, free: 12.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6571, allocations: 0 / 0.7436 GB, free: 12.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00122/0.6583, allocations: 449 kB / 0.7441 GB, free: 12.11 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.01411/0.6725, allocations: 5.517 MB / 0.7494 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006321/0.6788, allocations: 2.369 MB / 0.7518 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6788, allocations: 0 / 0.7518 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.6833, allocations: 1.532 MB / 0.7533 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.6841, allocations: 87.55 kB / 0.7533 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04026/0.7243, allocations: 15.41 MB / 0.7684 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.7251, allocations: 1.1 MB / 0.7695 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.7256, allocations: 86.89 kB / 0.7695 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.7263, allocations: 455.3 kB / 0.77 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.7263, allocations: 0 / 0.77 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/0.7958, allocations: 34.05 MB / 0.8032 GB, free: 15.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/18.51, allocations: 8.281 kB / 0.8032 GB, free: 15.45 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.163642606989015] Failed to read output from testmodel.py, exit status != 0: 18.68096892302856 18.705816662 18.523838808 Calling exit ...