Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001347/0.001347, allocations: 78.56 kB / 19.18 MB, free: 2.531 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.408/1.408, allocations: 177.1 MB / 199.4 MB, free: 8.445 MB / 190.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.00164/0.00164, allocations: 167.8 kB / 256 MB, free: 4.305 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.5862/0.5862, allocations: 80.36 MB / 392.7 MB, free: 29.62 MB / 334.1 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 0.5555 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.729e-05, allocations: 10.92 kB / 0.5555 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008977/0.009005, allocations: 5.721 MB / 0.5611 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005751/0.01476, allocations: 1.88 MB / 0.5629 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.01632, allocations: 16.12 kB / 0.5629 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.01737, allocations: 225.5 kB / 0.5631 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.02111, allocations: 0.7801 MB / 0.5639 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.02344, allocations: 0.6295 MB / 0.5645 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.02604, allocations: 1.474 MB / 0.5659 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.02661, allocations: 219.8 kB / 0.5661 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.02803, allocations: 0.8377 MB / 0.567 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.02905, allocations: 0.5769 MB / 0.5675 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.02928, allocations: 101 kB / 0.5676 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008121/0.0301, allocations: 253.9 kB / 0.5679 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.03037, allocations: 280.7 kB / 0.5681 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.03096, allocations: 421 kB / 0.5685 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.03325, allocations: 1.582 MB / 0.5701 GB, free: 4.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.03326, allocations: 1.25 kB / 0.5701 GB, free: 4.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03326, allocations: 4 kB / 0.5701 GB, free: 4.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.03328, allocations: 0 / 0.5701 GB, free: 4.238 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.01432/0.0476, allocations: 2.534 MB / 0.5726 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.04765, allocations: 8.656 kB / 0.5726 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.05768, allocations: 0.8205 MB / 0.5734 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.05959, allocations: 0.7306 MB / 0.5741 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.05995, allocations: 311.4 kB / 0.5744 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.06019, allocations: 80.09 kB / 0.5745 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.06412, allocations: 1.08 MB / 0.5755 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.06415, allocations: 0 / 0.5755 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.06431, allocations: 30 kB / 0.5755 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.06434, allocations: 23.38 kB / 0.5756 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.0685, allocations: 1.114 MB / 0.5766 GB, free: 272 kB / 430.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.01103/0.07953, allocations: 2.521 MB / 0.5791 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.08308, allocations: 0.8847 MB / 0.58 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.08603, allocations: 0.6992 MB / 0.5807 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.08618, allocations: 17 kB / 0.5807 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.08623, allocations: 39.56 kB / 0.5807 GB, free: 12.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 5.28e-06/0.08624, allocations: 0 / 0.5807 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.05137/0.1376, allocations: 6.502 MB / 0.5871 GB, free: 5.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.1377, allocations: 64.41 kB / 0.5871 GB, free: 5.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.1403, allocations: 0.904 MB / 0.588 GB, free: 4.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004083/0.1407, allocations: 41.7 kB / 0.588 GB, free: 4.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.1414, allocations: 0.4975 MB / 0.5885 GB, free: 4.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/0.1423, allocations: 360.9 kB / 0.5889 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009836/0.1433, allocations: 190.9 kB / 0.5891 GB, free: 3.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.1436, allocations: 353.9 kB / 0.5894 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/0.1468, allocations: 0.7092 MB / 0.5901 GB, free: 2.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/0.1502, allocations: 0.8539 MB / 0.5909 GB, free: 1.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0334/0.1836, allocations: 4.92 MB / 0.5957 GB, free: 12.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.1836, allocations: 0 / 0.5957 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01721/0.2008, allocations: 4.273 MB / 0.5999 GB, free: 8.332 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2008, allocations: 10.5 kB / 0.5999 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2008, allocations: 3.938 kB / 0.5999 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/0.2081, allocations: 1.789 MB / 0.6017 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2094, allocations: 207.7 kB / 0.6019 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02538/0.2348, allocations: 8.978 MB / 0.6106 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.2365, allocations: 179.2 kB / 0.6108 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.2366, allocations: 47.98 kB / 0.6108 GB, free: 13.01 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (107): * Single equations (assignments): 106 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005819/0.2372, allocations: 238.8 kB / 0.6111 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.2375, allocations: 131.1 kB / 0.6112 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.253, allocations: 3.975 MB / 0.6151 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.253, allocations: 12 kB / 0.6151 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.253, allocations: 0 / 0.6151 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.2531, allocations: 3.984 kB / 0.6151 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/0.2713, allocations: 4.89 MB / 0.6199 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.2713, allocations: 0 / 0.6199 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.2724, allocations: 127.9 kB / 0.62 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006946/0.2793, allocations: 1.753 MB / 0.6217 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.2795, allocations: 16 kB / 0.6217 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/0.3012, allocations: 7.736 MB / 0.6293 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.3012, allocations: 3.938 kB / 0.6293 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.319, allocations: 4.937 MB / 0.6341 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.3194, allocations: 126.9 kB / 0.6342 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.3197, allocations: 19.98 kB / 0.6342 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.3211, allocations: 111.9 kB / 0.6343 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000845/0.3219, allocations: 232.4 kB / 0.6346 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.322, allocations: 24 kB / 0.6346 GB, free: 4.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009538/0.323, allocations: 0.6008 MB / 0.6352 GB, free: 3.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 7.875 kB / 0.6352 GB, free: 3.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001489/0.3245, allocations: 443.6 kB / 0.6356 GB, free: 3.441 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0003376/0.3248, allocations: 127.2 kB / 0.6357 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007889/0.3327, allocations: 2.378 MB / 0.638 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3327, allocations: 0 / 0.638 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005723/0.3384, allocations: 1.515 MB / 0.6395 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3397, allocations: 94.92 kB / 0.6396 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.3444, allocations: 1.991 MB / 0.6416 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.3451, allocations: 0.5098 MB / 0.6421 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.3454, allocations: 82.77 kB / 0.6421 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.3457, allocations: 72.48 kB / 0.6422 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.3457, allocations: 0 / 0.6422 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.04382/0.3896, allocations: 24.79 MB / 0.6664 GB, free: 3.816 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5664349012076855] Failed to read output from testmodel.py, exit status != 0: 0.40054086223244667 0.41500749600000003 0.378352805 Calling exit ...