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.0008122/0.0008122, 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.8368/0.8368, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.0009585/0.0009585, allocations: 160.5 kB / 256 MB, free: 13.35 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.2565/0.2565, allocations: 80.37 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 180] 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.984e-06/1.984e-06, allocations: 0 / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.182e-05, allocations: 9.031 kB / 0.555 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004878/0.0049, allocations: 5.753 MB / 0.5606 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.007949, allocations: 1.911 MB / 0.5625 GB, free: 4.859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.008428, allocations: 15.94 kB / 0.5625 GB, free: 4.844 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.008844, allocations: 222 kB / 0.5627 GB, free: 4.625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.0101, allocations: 0.7823 MB / 0.5635 GB, free: 3.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.01127, allocations: 0.6469 MB / 0.5641 GB, free: 3.199 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.01249, allocations: 1.483 MB / 0.5655 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.01283, allocations: 216.8 kB / 0.5657 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.01376, allocations: 0.8337 MB / 0.5666 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.01429, allocations: 0.5724 MB / 0.5671 GB, free: 80 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.01445, allocations: 100 kB / 0.5672 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.01484, allocations: 255.7 kB / 0.5674 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.01498, allocations: 282.7 kB / 0.5677 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.01525, allocations: 422.6 kB / 0.5681 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.01656, allocations: 1.577 MB / 0.5697 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01657, allocations: 0 / 0.5697 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01657, allocations: 0 / 0.5697 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.01661, allocations: 0 / 0.5697 GB, free: 13.46 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.004643/0.02125, allocations: 2.542 MB / 0.5721 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.02129, allocations: 12.03 kB / 0.5722 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.02141, allocations: 126.8 kB / 0.5723 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.02389, allocations: 0.8186 MB / 0.5731 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.025, allocations: 0.7287 MB / 0.5738 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.02521, allocations: 311.6 kB / 0.5741 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.02532, allocations: 79.94 kB / 0.5742 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.02685, allocations: 1.085 MB / 0.5752 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.02686, allocations: 0 / 0.5752 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.02692, allocations: 28 kB / 0.5752 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.02694, allocations: 23.94 kB / 0.5753 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.02853, allocations: 1.117 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.004187/0.03272, allocations: 2.643 MB / 0.5789 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.03397, allocations: 0.8886 MB / 0.5798 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009751/0.03494, allocations: 0.6992 MB / 0.5805 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.03502, allocations: 17 kB / 0.5805 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.03504, allocations: 43.56 kB / 0.5805 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 2.435e-06/0.03505, allocations: 0 / 0.5805 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.01418/0.04922, allocations: 6.778 MB / 0.5872 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.04926, allocations: 60.41 kB / 0.5872 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.05022, allocations: 0.9086 MB / 0.5881 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.05038, allocations: 41.7 kB / 0.5882 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.05067, allocations: 0.4936 MB / 0.5886 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.05096, allocations: 356.9 kB / 0.589 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.05125, allocations: 210.8 kB / 0.5892 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.05136, allocations: 345.9 kB / 0.5895 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.05249, allocations: 0.7326 MB / 0.5902 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.05371, allocations: 0.8657 MB / 0.5911 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.06433, allocations: 4.947 MB / 0.5959 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.06434, allocations: 0 / 0.5959 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.1896/0.254, allocations: 4.257 MB / 0.6001 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.254, allocations: 10.31 kB / 0.6001 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.254, allocations: 0.6562 kB / 0.6001 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.2572, allocations: 1.723 MB / 0.6017 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.2579, allocations: 229 kB / 0.602 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.2704, allocations: 8.761 MB / 0.6105 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.2714, allocations: 178.4 kB / 0.6107 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.2715, allocations: 43.31 kB / 0.6107 GB, free: 88.37 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.0004129/0.2719, allocations: 242.2 kB / 0.611 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2721, allocations: 136.8 kB / 0.6111 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/0.2797, allocations: 3.971 MB / 0.615 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.2797, allocations: 9.25 kB / 0.615 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2797, allocations: 0 / 0.615 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.2798, allocations: 8.516 kB / 0.615 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009281/0.289, allocations: 4.995 MB / 0.6199 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.289, allocations: 3.734 kB / 0.6199 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.2895, allocations: 133.1 kB / 0.62 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/0.2928, allocations: 1.727 MB / 0.6217 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.2929, allocations: 18.75 kB / 0.6217 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.3038, allocations: 7.767 MB / 0.6293 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3038, allocations: 0.9688 kB / 0.6293 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008253/0.3121, allocations: 4.937 MB / 0.6341 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.3124, allocations: 135.9 kB / 0.6342 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3125, allocations: 16.12 kB / 0.6343 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.313, allocations: 112.4 kB / 0.6344 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004785/0.3135, allocations: 222.6 kB / 0.6346 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3135, allocations: 29.86 kB / 0.6346 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005526/0.3141, allocations: 0.5982 MB / 0.6352 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3141, allocations: 0 / 0.6352 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001009/0.3151, allocations: 442.6 kB / 0.6356 GB, free: 79.12 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.007723/0.3228, allocations: 5.524 MB / 0.641 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003602/0.3264, allocations: 2.36 MB / 0.6433 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3264, allocations: 0 / 0.6433 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.3287, allocations: 1.526 MB / 0.6448 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.3293, allocations: 96.11 kB / 0.6449 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.3488, allocations: 15.29 MB / 0.6598 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3491, allocations: 0.5098 MB / 0.6603 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.3494, allocations: 86.91 kB / 0.6604 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.3497, allocations: 452.3 kB / 0.6608 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/0.3497, allocations: 0 / 0.6608 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.3867, allocations: 36.01 MB / 0.696 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.497, allocations: 12.5 kB / 0.696 GB, free: 20.34 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 10.740582293830812] Failed to read output from testmodel.py, exit status != 0: 8.595006790943444 8.602343463 8.584215633 Calling exit ...