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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.7 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 194.9 kB / 303.1 MB, free: 8.656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.541/0.541, allocations: 99.65 MB / 458 MB, free: 3.922 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002489/0.002489, allocations: 83.88 kB / 0.6129 GB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1445, allocations: 76.99 MB / 0.6881 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007738/0.1523, allocations: 6.443 MB / 0.6944 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.156, allocations: 1.872 MB / 0.6962 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.1566, allocations: 19.88 kB / 0.6963 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.1572, allocations: 222 kB / 0.6965 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.1589, allocations: 0.7689 MB / 0.6972 GB, free: 64 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2898/0.4487, allocations: 0.5918 MB / 0.6978 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.4512, allocations: 1.401 MB / 0.6992 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.4517, allocations: 232.8 kB / 0.6994 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.4529, allocations: 0.6072 MB / 0.7 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008441/0.4537, allocations: 0.7269 MB / 0.7007 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.4539, allocations: 101.5 kB / 0.7008 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006552/0.4546, allocations: 240.5 kB / 0.701 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.4548, allocations: 279.2 kB / 0.7013 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.4551, allocations: 0.6183 MB / 0.7019 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.4565, allocations: 1.512 MB / 0.7034 GB, free: 9.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4565, allocations: 0 / 0.7034 GB, free: 9.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4565, allocations: 3.562 kB / 0.7034 GB, free: 9.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.4565, allocations: 3.844 kB / 0.7034 GB, free: 9.266 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008143/0.4647, allocations: 2.505 MB / 0.7058 GB, free: 8.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4647, allocations: 15.7 kB / 0.7058 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.4699, allocations: 0.7854 MB / 0.7066 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.4715, allocations: 0.7057 MB / 0.7073 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.4718, allocations: 260.9 kB / 0.7075 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.472, allocations: 74.25 kB / 0.7076 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.4744, allocations: 1.075 MB / 0.7087 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4744, allocations: 4 kB / 0.7087 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.4745, allocations: 29.56 kB / 0.7087 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4746, allocations: 19.72 kB / 0.7087 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.4771, allocations: 1.12 MB / 0.7098 GB, free: 7.117 MB / 494.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.006479/0.4835, allocations: 3.377 MB / 0.7131 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.4857, allocations: 0.8684 MB / 0.7139 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.4874, allocations: 0.6962 MB / 0.7146 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.4876, allocations: 18.36 kB / 0.7146 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4876, allocations: 44.41 kB / 0.7147 GB, free: 4.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/0.4876, allocations: 0 / 0.7147 GB, free: 4.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02968/0.5173, allocations: 6.642 MB / 0.7212 GB, free: 3.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5173, allocations: 62.59 kB / 0.7212 GB, free: 3.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.5187, allocations: 0.8834 MB / 0.7221 GB, free: 2.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.519, allocations: 41.45 kB / 0.7221 GB, free: 2.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.5193, allocations: 0.4939 MB / 0.7226 GB, free: 2.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.5196, allocations: 363.9 kB / 0.723 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.52, allocations: 193.2 kB / 0.7232 GB, free: 1.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.5201, allocations: 347.6 kB / 0.7235 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.5217, allocations: 0.7144 MB / 0.7242 GB, free: 1.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.5234, allocations: 0.8372 MB / 0.725 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/0.5447, allocations: 4.785 MB / 0.7297 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5447, allocations: 4.219 kB / 0.7297 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01636/0.5611, allocations: 4.229 MB / 0.7338 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5611, allocations: 6.5 kB / 0.7338 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5611, allocations: 2.531 kB / 0.7338 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007219/0.5683, allocations: 1.861 MB / 0.7356 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.5696, allocations: 211.8 kB / 0.7358 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/0.5942, allocations: 8.998 MB / 0.7446 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.5961, allocations: 179.2 kB / 0.7448 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.5962, allocations: 39.98 kB / 0.7448 GB, free: 4.383 MB / 0.4981 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 (108): * Single equations (assignments): 107 * 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.0006242/0.5968, allocations: 247.6 kB / 0.7451 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.5971, allocations: 123.2 kB / 0.7452 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/0.6121, allocations: 3.97 MB / 0.7491 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.6121, allocations: 15.19 kB / 0.7491 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6122, allocations: 0 / 0.7491 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.6122, allocations: 3.984 kB / 0.7491 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.6301, allocations: 5.56 MB / 0.7545 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6301, allocations: 0 / 0.7545 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.6311, allocations: 127.1 kB / 0.7546 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006875/0.638, allocations: 1.74 MB / 0.7563 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/0.6383, allocations: 16 kB / 0.7563 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.6601, allocations: 7.975 MB / 0.7641 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6601, allocations: 3.938 kB / 0.7641 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/0.6774, allocations: 4.938 MB / 0.769 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.6779, allocations: 139.4 kB / 0.7691 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/0.6783, allocations: 16 kB / 0.7691 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.6796, allocations: 107.9 kB / 0.7692 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007974/0.6804, allocations: 224.6 kB / 0.7694 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.6805, allocations: 25.06 kB / 0.7694 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009292/0.6815, allocations: 0.5958 MB / 0.77 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6815, allocations: 0 / 0.77 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001652/0.6831, allocations: 431.7 kB / 0.7704 GB, free: 10.01 MB / 0.5294 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.0003399/0.6834, allocations: 127.5 kB / 0.7706 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007801/0.6913, allocations: 2.362 MB / 0.7729 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6913, allocations: 0 / 0.7729 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005489/0.6967, allocations: 1.524 MB / 0.7744 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6981, allocations: 92.28 kB / 0.7744 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.7027, allocations: 1.97 MB / 0.7764 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/0.7035, allocations: 1.088 MB / 0.7774 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.7039, allocations: 85.14 kB / 0.7775 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7041, allocations: 67.41 kB / 0.7776 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/0.7041, allocations: 0 / 0.7776 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of Templates: time 0.04298/0.7471, allocations: 24.61 MB / 0.8016 GB, free: 10.09 MB / 0.5606 GB " [Timeout remaining time 659] 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: 6.671456195414066] Failed to read output from testmodel.py, exit status != 0: 0.7571078687906265 0.771703338 0.31178993099999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdf286f57b0>