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.001535/0.001535, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.428/1.428, allocations: 230.6 MB / 253.4 MB, free: 14.47 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.001502/0.001502, allocations: 211 kB / 310 MB, free: 3.113 MB / 238.1 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.5607/0.5607, allocations: 101.3 MB / 467.8 MB, free: 30.48 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.002297/0.002297, allocations: 86.38 kB / 0.6252 GB, free: 32.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1374, allocations: 78.61 MB / 0.7019 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007868/0.1452, allocations: 6.588 MB / 0.7084 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.1493, allocations: 2.009 MB / 0.7103 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.1501, allocations: 15.94 kB / 0.7104 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.1508, allocations: 222 kB / 0.7106 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.1529, allocations: 0.7882 MB / 0.7113 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1545, allocations: 0.6502 MB / 0.712 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.1564, allocations: 1.44 MB / 0.7134 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.1568, allocations: 232.8 kB / 0.7136 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.1578, allocations: 0.6224 MB / 0.7142 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009402/0.1587, allocations: 0.7349 MB / 0.7149 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.1589, allocations: 100 kB / 0.715 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.1594, allocations: 255.9 kB / 0.7153 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1597, allocations: 278.7 kB / 0.7155 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.1602, allocations: 0.629 MB / 0.7161 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.1621, allocations: 1.548 MB / 0.7177 GB, free: 0.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1621, allocations: 4 kB / 0.7177 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1621, allocations: 0 / 0.7177 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.1622, allocations: 0 / 0.7177 GB, free: 0.8711 MB / 494.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.008346/0.1705, allocations: 2.547 MB / 0.7201 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1705, allocations: 12.02 kB / 0.7202 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.123e-05/0.1706, allocations: 26 kB / 0.7202 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.1707, allocations: 126.8 kB / 0.7203 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.176, allocations: 0.8264 MB / 0.7211 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.1774, allocations: 0.7248 MB / 0.7218 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.1778, allocations: 311.6 kB / 0.7221 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.178, allocations: 80 kB / 0.7222 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.1804, allocations: 1.081 MB / 0.7232 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1804, allocations: 0 / 0.7232 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.1805, allocations: 32 kB / 0.7233 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.1805, allocations: 20 kB / 0.7233 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.1831, allocations: 1.128 MB / 0.7244 GB, free: 9.82 MB / 0.4981 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.00661/0.1897, allocations: 3.438 MB / 0.7278 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.1917, allocations: 0.8803 MB / 0.7286 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.1934, allocations: 0.7148 MB / 0.7293 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/0.1935, allocations: 20.92 kB / 0.7293 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1935, allocations: 43.56 kB / 0.7294 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/0.1935, allocations: 0 / 0.7294 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02749/0.221, allocations: 6.767 MB / 0.736 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.2211, allocations: 60.41 kB / 0.736 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2223, allocations: 0.9008 MB / 0.7369 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.2225, allocations: 45.7 kB / 0.737 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.2229, allocations: 0.4975 MB / 0.7375 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.2233, allocations: 368.8 kB / 0.7378 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.2238, allocations: 206.9 kB / 0.738 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2239, allocations: 349.9 kB / 0.7383 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.2257, allocations: 0.7326 MB / 0.739 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.2276, allocations: 0.854 MB / 0.7399 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/0.2473, allocations: 4.971 MB / 0.7447 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.2473, allocations: 4 kB / 0.7447 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01434/0.2616, allocations: 4.246 MB / 0.7489 GB, free: 432 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.2617, allocations: 4 kB / 0.7489 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2617, allocations: 4 kB / 0.7489 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006226/0.2679, allocations: 1.73 MB / 0.7506 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.2691, allocations: 227.7 kB / 0.7508 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.2912, allocations: 8.948 MB / 0.7595 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.2927, allocations: 187.2 kB / 0.7597 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2928, allocations: 39.98 kB / 0.7598 GB, free: 5.164 MB / 0.5294 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.0005182/0.2934, allocations: 245.6 kB / 0.76 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.2936, allocations: 127.1 kB / 0.7601 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.3073, allocations: 3.979 MB / 0.764 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.3073, allocations: 12 kB / 0.764 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3073, allocations: 0 / 0.764 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.3073, allocations: 7.969 kB / 0.764 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.3233, allocations: 5.566 MB / 0.7695 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.3233, allocations: 3.984 kB / 0.7695 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.3241, allocations: 123.9 kB / 0.7696 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/0.3303, allocations: 1.741 MB / 0.7713 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.3305, allocations: 27.92 kB / 0.7713 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.3501, allocations: 7.953 MB / 0.7791 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3501, allocations: 0 / 0.7791 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.3659, allocations: 4.941 MB / 0.7839 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.3663, allocations: 135 kB / 0.784 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.3665, allocations: 20 kB / 0.784 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.3676, allocations: 107.9 kB / 0.7841 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007297/0.3683, allocations: 228.6 kB / 0.7844 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.3684, allocations: 23.98 kB / 0.7844 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008313/0.3692, allocations: 0.6089 MB / 0.785 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3692, allocations: 0 / 0.785 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00129/0.3705, allocations: 443.6 kB / 0.7854 GB, free: 10.59 MB / 0.5606 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.01625/0.3868, allocations: 5.515 MB / 0.7908 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007241/0.394, allocations: 2.363 MB / 0.7931 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.394, allocations: 0 / 0.7931 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005096/0.3991, allocations: 1.526 MB / 0.7946 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.4, allocations: 92.34 kB / 0.7947 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/0.4403, allocations: 15.41 MB / 0.8097 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.4411, allocations: 1.103 MB / 0.8108 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004297/0.4415, allocations: 86.89 kB / 0.8109 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2858/0.7273, allocations: 444.5 kB / 0.8113 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/0.7273, allocations: 0 / 0.8113 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06873/0.796, allocations: 34.93 MB / 0.8454 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/18.64, allocations: 12.84 kB / 0.8454 GB, free: 85.88 MB / 0.5762 GB " [Timeout remaining time 641] (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: 22.509605642058887] Failed to read output from testmodel.py, exit status != 0: 18.825696381973103 18.842357382 18.67681857 Calling exit ...