Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0007454/0.0007454, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8676/0.8676, allocations: 177.1 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] 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.001058/0.001058, allocations: 167.3 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2666/0.2666, allocations: 80.36 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.808e-05, allocations: 5.516 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004284/0.004302, allocations: 5.757 MB / 0.5606 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.00698, allocations: 1.907 MB / 0.5625 GB, free: 4.863 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.007443, allocations: 15.94 kB / 0.5625 GB, free: 4.848 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.007853, allocations: 233.9 kB / 0.5627 GB, free: 4.617 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.009, allocations: 0.7709 MB / 0.5634 GB, free: 3.844 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.009912, allocations: 0.6527 MB / 0.5641 GB, free: 3.199 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.01103, allocations: 1.479 MB / 0.5655 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.01132, allocations: 216.8 kB / 0.5657 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.01208, allocations: 0.8454 MB / 0.5666 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.01253, allocations: 0.5685 MB / 0.5671 GB, free: 76 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.01265, allocations: 108 kB / 0.5672 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.01298, allocations: 243.7 kB / 0.5674 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.01312, allocations: 282.7 kB / 0.5677 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.01337, allocations: 418.6 kB / 0.5681 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.01456, allocations: 1.581 MB / 0.5697 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01456, allocations: 0 / 0.5697 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01457, allocations: 3.938 kB / 0.5697 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.661e-05/0.01459, allocations: 0 / 0.5697 GB, free: 13.45 MB / 0.4948 GB 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.004307/0.0189, allocations: 2.538 MB / 0.5721 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01894, allocations: 8.031 kB / 0.5722 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.01906, allocations: 134.7 kB / 0.5723 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.02159, allocations: 0.8186 MB / 0.5731 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.02248, allocations: 0.7248 MB / 0.5738 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.02268, allocations: 311.6 kB / 0.5741 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.02279, allocations: 76 kB / 0.5742 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.02418, allocations: 1.085 MB / 0.5752 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.02419, allocations: 0 / 0.5752 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.02426, allocations: 32 kB / 0.5752 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.02427, allocations: 19.94 kB / 0.5753 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.02577, allocations: 1.12 MB / 0.5764 GB, free: 6.441 MB / 0.4948 GB 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.003466/0.02923, allocations: 2.643 MB / 0.5789 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.03041, allocations: 0.8847 MB / 0.5798 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.03132, allocations: 0.707 MB / 0.5805 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.0314, allocations: 13 kB / 0.5805 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.03142, allocations: 39.56 kB / 0.5805 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 2.144e-06/0.03143, allocations: 0 / 0.5805 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.01336/0.04479, allocations: 6.774 MB / 0.5872 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.04482, allocations: 68.41 kB / 0.5872 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.04554, allocations: 0.9047 MB / 0.5881 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.0456, allocations: 41.7 kB / 0.5881 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.04585, allocations: 0.4975 MB / 0.5886 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.04605, allocations: 356.9 kB / 0.589 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.04629, allocations: 202.9 kB / 0.5892 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.04639, allocations: 357.9 kB / 0.5895 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.04738, allocations: 0.7287 MB / 0.5902 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.04845, allocations: 0.8618 MB / 0.5911 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009774/0.05823, allocations: 4.955 MB / 0.5959 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.05823, allocations: 4 kB / 0.5959 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.1921/0.2503, allocations: 4.256 MB / 0.6001 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.2504, allocations: 6.188 kB / 0.6001 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2504, allocations: 2.938 kB / 0.6001 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.2534, allocations: 1.722 MB / 0.6018 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.2541, allocations: 235.1 kB / 0.602 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.2655, allocations: 8.753 MB / 0.6105 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.2663, allocations: 181.7 kB / 0.6107 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.2664, allocations: 40.42 kB / 0.6107 GB, free: 88.44 MB / 0.5105 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.0003398/0.2667, allocations: 240.4 kB / 0.611 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2669, allocations: 133 kB / 0.6111 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007214/0.2741, allocations: 3.975 MB / 0.615 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2741, allocations: 9.625 kB / 0.615 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2741, allocations: 1.375 kB / 0.615 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.2741, allocations: 5.25 kB / 0.615 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/0.2828, allocations: 4.987 MB / 0.6199 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2828, allocations: 3.281 kB / 0.6199 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.2832, allocations: 139.4 kB / 0.62 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.2867, allocations: 1.728 MB / 0.6217 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.2867, allocations: 22.52 kB / 0.6217 GB, free: 85.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.2974, allocations: 7.76 MB / 0.6293 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2974, allocations: 3.125 kB / 0.6293 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/0.3053, allocations: 4.939 MB / 0.6341 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3055, allocations: 137.1 kB / 0.6342 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.3056, allocations: 16.59 kB / 0.6343 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.3061, allocations: 112.2 kB / 0.6344 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.3065, allocations: 226.8 kB / 0.6346 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.3065, allocations: 21.09 kB / 0.6346 GB, free: 79.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004841/0.307, allocations: 0.6062 MB / 0.6352 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.307, allocations: 0 / 0.6352 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009349/0.3079, allocations: 439.8 kB / 0.6356 GB, free: 79.27 MB / 0.5105 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.007523/0.3154, allocations: 5.519 MB / 0.641 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003356/0.3188, allocations: 2.361 MB / 0.6433 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3188, allocations: 0 / 0.6433 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.321, allocations: 1.525 MB / 0.6448 GB, free: 72.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3214, allocations: 97.64 kB / 0.6449 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.34, allocations: 15.29 MB / 0.6598 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3403, allocations: 0.5098 MB / 0.6603 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.3405, allocations: 90.5 kB / 0.6604 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.3408, allocations: 452.3 kB / 0.6608 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/0.3408, allocations: 0 / 0.6608 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.3793, allocations: 36.01 MB / 0.696 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.842/9.221, allocations: 15.84 kB / 0.696 GB, free: 20.36 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.615112198516726] Failed to read output from testmodel.py, exit status != 0: 9.330127843655646 9.34198075 9.32545937 Calling exit ...