Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1549/0.1549, allocations: 12.78 MB / 31.61 MB, free: 6.184 MB / 26.18 MB " [Timeout remaining time 180] 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.001553/0.001553, allocations: 112.1 kB / 37.74 MB, free: 0.7695 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 207.6 MB / 251.4 MB, free: 2.734 MB / 190.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.002348/0.002348, allocations: 200.4 kB / 306.7 MB, free: 11.25 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4831/0.4831, allocations: 79.71 MB / 441.6 MB, free: 11.32 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.2216/0.2216, allocations: 146.2 kB / 0.5889 GB, free: 51.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.341, allocations: 72.05 MB / 0.6592 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005143/0.3462, allocations: 6.536 MB / 0.6656 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3492, allocations: 1.85 MB / 0.6674 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.3497, allocations: 11.94 kB / 0.6674 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.3501, allocations: 234 kB / 0.6677 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.3515, allocations: 0.757 MB / 0.6684 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3526, allocations: 0.6218 MB / 0.669 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3536, allocations: 1.421 MB / 0.6704 GB, free: 76 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.354, allocations: 228.8 kB / 0.6706 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.3547, allocations: 0.6068 MB / 0.6712 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009069/0.3557, allocations: 0.7388 MB / 0.6719 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3558, allocations: 100 kB / 0.672 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005111/0.3563, allocations: 247.8 kB / 0.6723 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.3566, allocations: 270.8 kB / 0.6725 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.3572, allocations: 0.6329 MB / 0.6731 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3591, allocations: 1.533 MB / 0.6746 GB, free: 11.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3591, allocations: 0 / 0.6746 GB, free: 11.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3591, allocations: 7.938 kB / 0.6747 GB, free: 11.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.3591, allocations: 0 / 0.6747 GB, free: 11.71 MB / 462.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.00903/0.3682, allocations: 2.515 MB / 0.6771 GB, free: 9.152 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3682, allocations: 12.02 kB / 0.6771 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/0.3736, allocations: 0.7835 MB / 0.6779 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.3754, allocations: 0.7206 MB / 0.6786 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.3758, allocations: 260.2 kB / 0.6788 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.376, allocations: 83.89 kB / 0.6789 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.3788, allocations: 1.077 MB / 0.68 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3788, allocations: 3.938 kB / 0.68 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.379, allocations: 32 kB / 0.68 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.379, allocations: 16 kB / 0.68 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.3819, allocations: 1.12 MB / 0.6811 GB, free: 4.961 MB / 462.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.006897/0.3888, allocations: 3.402 MB / 0.6844 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.391, allocations: 0.8782 MB / 0.6853 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.3928, allocations: 0.707 MB / 0.686 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.3929, allocations: 16.98 kB / 0.686 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3929, allocations: 43.56 kB / 0.686 GB, free: 15.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.755e-06/0.3929, allocations: 0 / 0.686 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02869/0.4216, allocations: 6.506 MB / 0.6924 GB, free: 9.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.4217, allocations: 68.39 kB / 0.6925 GB, free: 9.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4231, allocations: 0.8963 MB / 0.6933 GB, free: 8.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.4233, allocations: 41.7 kB / 0.6934 GB, free: 8.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.4237, allocations: 0.4975 MB / 0.6939 GB, free: 7.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.4242, allocations: 364.8 kB / 0.6942 GB, free: 7.332 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.4247, allocations: 198.9 kB / 0.6944 GB, free: 7.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4249, allocations: 353.9 kB / 0.6947 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.4267, allocations: 0.717 MB / 0.6954 GB, free: 6.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4287, allocations: 0.8539 MB / 0.6963 GB, free: 5.176 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02085/0.4496, allocations: 4.826 MB / 0.701 GB, free: 324 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4496, allocations: 4 kB / 0.701 GB, free: 320 kB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01552/0.4651, allocations: 4.246 MB / 0.7051 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4652, allocations: 9.094 kB / 0.7051 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4652, allocations: 3.938 kB / 0.7051 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/0.4724, allocations: 1.815 MB / 0.7069 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4735, allocations: 211.7 kB / 0.7071 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/0.4989, allocations: 9.225 MB / 0.7161 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.5007, allocations: 179.3 kB / 0.7163 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.5009, allocations: 39.98 kB / 0.7163 GB, free: 456 kB / 494.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 (111): * Single equations (assignments): 110 * 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.0007201/0.5016, allocations: 258.9 kB / 0.7166 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.502, allocations: 123.2 kB / 0.7167 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.517, allocations: 3.975 MB / 0.7206 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.517, allocations: 12 kB / 0.7206 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.517, allocations: 4 kB / 0.7206 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.517, allocations: 3.984 kB / 0.7206 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.5344, allocations: 5.547 MB / 0.726 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5344, allocations: 0 / 0.726 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.5353, allocations: 139.8 kB / 0.7262 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006706/0.542, allocations: 1.745 MB / 0.7279 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.5422, allocations: 16 kB / 0.7279 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/0.5642, allocations: 7.973 MB / 0.7357 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5642, allocations: 3.984 kB / 0.7357 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.5821, allocations: 4.933 MB / 0.7405 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.5825, allocations: 139 kB / 0.7406 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/0.5829, allocations: 20 kB / 0.7406 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.5843, allocations: 107.8 kB / 0.7407 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008663/0.5851, allocations: 224.6 kB / 0.7409 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.5853, allocations: 31.98 kB / 0.741 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009939/0.5863, allocations: 0.5969 MB / 0.7416 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5863, allocations: 0 / 0.7416 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001745/0.588, allocations: 443.6 kB / 0.742 GB, free: 5.871 MB / 0.5137 GB 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.0003743/0.5884, allocations: 136.1 kB / 0.7421 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007935/0.5963, allocations: 2.389 MB / 0.7444 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5963, allocations: 0 / 0.7444 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005629/0.602, allocations: 1.534 MB / 0.7459 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.6029, allocations: 86.48 kB / 0.746 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.6074, allocations: 2.042 MB / 0.748 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.6082, allocations: 1.091 MB / 0.7491 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003886/0.6086, allocations: 90.77 kB / 0.7492 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.6089, allocations: 71.42 kB / 0.7492 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of SimCode: time 1.363e-06/0.6089, allocations: 0 / 0.7492 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.04548/0.6544, allocations: 24.95 MB / 0.7736 GB, free: 5.359 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.748218382708728] Failed to read output from testmodel.py, exit status != 0: 0.6642738971859217 0.682583377 0.318811037 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f693c5017b0>