Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.0008415/0.0008415, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.8597/0.8597, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.001048/0.001048, allocations: 160.2 kB / 256.7 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.261/0.261, allocations: 80.36 MB / 393.5 MB, free: 2.371 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.275e-05, allocations: 5.516 kB / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004451/0.004474, allocations: 5.674 MB / 0.5617 GB, free: 6.383 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.006809, allocations: 1.872 MB / 0.5636 GB, free: 4.508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.00715, allocations: 15.94 kB / 0.5636 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.007511, allocations: 218 kB / 0.5638 GB, free: 4.277 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.008574, allocations: 0.7723 MB / 0.5645 GB, free: 3.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.00947, allocations: 0.6326 MB / 0.5652 GB, free: 2.875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.0104, allocations: 1.459 MB / 0.5666 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.01068, allocations: 216.8 kB / 0.5668 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.0113, allocations: 0.8298 MB / 0.5676 GB, free: 364 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.01175, allocations: 0.5569 MB / 0.5681 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.01185, allocations: 100 kB / 0.5682 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.01213, allocations: 247.8 kB / 0.5685 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.01227, allocations: 286.6 kB / 0.5688 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.0125, allocations: 406.7 kB / 0.5691 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.01356, allocations: 1.573 MB / 0.5707 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01356, allocations: 0 / 0.5707 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01356, allocations: 0 / 0.5707 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.01357, allocations: 3.938 kB / 0.5707 GB, free: 13.2 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004076/0.01765, allocations: 2.503 MB / 0.5731 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01769, allocations: 12.03 kB / 0.5731 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/0.0201, allocations: 0.8225 MB / 0.5739 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.02093, allocations: 0.7284 MB / 0.5746 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.02113, allocations: 311.6 kB / 0.5749 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02123, allocations: 76 kB / 0.575 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.02254, allocations: 1.069 MB / 0.5761 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.02256, allocations: 0 / 0.5761 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.02262, allocations: 31.94 kB / 0.5761 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.02264, allocations: 27.94 kB / 0.5761 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.02408, allocations: 1.109 MB / 0.5772 GB, free: 6.367 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.003221/0.02731, allocations: 2.49 MB / 0.5796 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.02844, allocations: 0.8652 MB / 0.5805 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.02933, allocations: 0.7031 MB / 0.5812 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.0294, allocations: 17 kB / 0.5812 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.02942, allocations: 39.56 kB / 0.5812 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.927e-06/0.02943, allocations: 0 / 0.5812 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.0128/0.04223, allocations: 6.654 MB / 0.5877 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.04226, allocations: 60.41 kB / 0.5878 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.04293, allocations: 0.8799 MB / 0.5886 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.04299, allocations: 45.7 kB / 0.5887 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.04324, allocations: 0.5052 MB / 0.5892 GB, free: 10 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.04345, allocations: 349 kB / 0.5895 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.04367, allocations: 186.9 kB / 0.5897 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.04376, allocations: 345.9 kB / 0.59 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/0.0447, allocations: 0.7053 MB / 0.5907 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.0457, allocations: 0.8384 MB / 0.5915 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009564/0.05526, allocations: 4.869 MB / 0.5963 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.05527, allocations: 0 / 0.5963 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.2161/0.2714, allocations: 4.181 MB / 0.6004 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.2714, allocations: 12.53 kB / 0.6004 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2714, allocations: 0.6562 kB / 0.6004 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/0.2746, allocations: 1.855 MB / 0.6022 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.2753, allocations: 198.3 kB / 0.6024 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.2867, allocations: 8.762 MB / 0.6109 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.2876, allocations: 173.5 kB / 0.6111 GB, free: 88.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.2877, allocations: 41.5 kB / 0.6111 GB, free: 88.21 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (104): * Single equations (assignments): 103 * 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 prepare postOptimizeDAE: time 0.0003637/0.288, allocations: 244.6 kB / 0.6114 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.2882, allocations: 126.2 kB / 0.6115 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/0.2956, allocations: 3.971 MB / 0.6154 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2956, allocations: 10.06 kB / 0.6154 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2956, allocations: 2.109 kB / 0.6154 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.2956, allocations: 5.672 kB / 0.6154 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/0.304, allocations: 4.884 MB / 0.6202 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.304, allocations: 4.969 kB / 0.6202 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.3044, allocations: 132.3 kB / 0.6203 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/0.3078, allocations: 1.736 MB / 0.622 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.3078, allocations: 21.75 kB / 0.622 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3182, allocations: 7.733 MB / 0.6295 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3182, allocations: 0 / 0.6295 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008071/0.3263, allocations: 4.94 MB / 0.6344 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3265, allocations: 129.8 kB / 0.6345 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.3266, allocations: 30.2 kB / 0.6345 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.327, allocations: 104.3 kB / 0.6346 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.3274, allocations: 226.6 kB / 0.6348 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.3275, allocations: 20.5 kB / 0.6349 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005085/0.328, allocations: 0.5913 MB / 0.6354 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.328, allocations: 0 / 0.6354 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001032/0.329, allocations: 440.4 kB / 0.6359 GB, free: 79.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002451/0.3293, allocations: 135.8 kB / 0.636 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003531/0.3328, allocations: 2.351 MB / 0.6383 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3328, allocations: 4.062 kB / 0.6383 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.3349, allocations: 1.51 MB / 0.6398 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3353, allocations: 87.19 kB / 0.6398 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3374, allocations: 1.993 MB / 0.6418 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3377, allocations: 0.4941 MB / 0.6423 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3379, allocations: 75.34 kB / 0.6423 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.3379, allocations: 0 / 0.6423 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.01266/0.3505, allocations: 20.71 MB / 0.6626 GB, free: 55.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4573945719748735] Failed to read output from testmodel.py, exit status != 0: 0.35601977724581957 0.362117982 0.34721681800000004 Calling exit ...