Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07911/0.07911, allocations: 12.6 MB / 28.9 MB, free: 0.6055 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 111.5 kB / 32.5 MB, free: 3.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 195.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4456/0.4456, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB 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.00273/0.00273, allocations: 139.5 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.146, allocations: 68.12 MB / 0.6231 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006474/0.1525, allocations: 5.738 MB / 0.6287 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.1565, allocations: 1.697 MB / 0.6303 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1577, allocations: 8 kB / 0.6303 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.1585, allocations: 206.2 kB / 0.6305 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.161, allocations: 0.6717 MB / 0.6312 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1624, allocations: 0.5645 MB / 0.6317 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.1644, allocations: 1.225 MB / 0.6329 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.1649, allocations: 267.1 kB / 0.6332 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008991/0.1658, allocations: 0.5212 MB / 0.6337 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.1668, allocations: 0.6338 MB / 0.6343 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.1672, allocations: 84 kB / 0.6344 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.1678, allocations: 223.9 kB / 0.6346 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.1681, allocations: 238.9 kB / 0.6348 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007383/0.1689, allocations: 0.5398 MB / 0.6354 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.1707, allocations: 1.339 MB / 0.6367 GB, free: 1.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1707, allocations: 0 / 0.6367 GB, free: 1.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1708, allocations: 0 / 0.6367 GB, free: 1.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.1708, allocations: 0 / 0.6367 GB, free: 1.543 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008398/0.1792, allocations: 2.333 MB / 0.6389 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1793, allocations: 11.98 kB / 0.639 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.1845, allocations: 0.7518 MB / 0.6397 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.1862, allocations: 0.7088 MB / 0.6404 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.1865, allocations: 243.5 kB / 0.6406 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.1868, allocations: 75.92 kB / 0.6407 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.1891, allocations: 0.9434 MB / 0.6416 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1891, allocations: 3.938 kB / 0.6416 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.1892, allocations: 35.94 kB / 0.6416 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1893, allocations: 16 kB / 0.6417 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.1914, allocations: 0.9655 MB / 0.6426 GB, free: 11.32 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.005615/0.197, allocations: 3.128 MB / 0.6457 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.1994, allocations: 1.319 MB / 0.6469 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.201, allocations: 0.6905 MB / 0.6476 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.2011, allocations: 20.62 kB / 0.6476 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.2012, allocations: 43.16 kB / 0.6477 GB, free: 5.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.765e-06/0.2012, allocations: 8 kB / 0.6477 GB, free: 5.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02777/0.229, allocations: 6.696 MB / 0.6542 GB, free: 15.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.2291, allocations: 60.06 kB / 0.6543 GB, free: 15.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2304, allocations: 0.7904 MB / 0.6551 GB, free: 14.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.2307, allocations: 37.7 kB / 0.6551 GB, free: 14.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.2311, allocations: 436.4 kB / 0.6555 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.2316, allocations: 287.8 kB / 0.6558 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.2321, allocations: 178.5 kB / 0.6559 GB, free: 13.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2322, allocations: 345.9 kB / 0.6563 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2337, allocations: 0.6386 MB / 0.6569 GB, free: 12.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.2353, allocations: 0.7627 MB / 0.6576 GB, free: 11.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.2535, allocations: 4.449 MB / 0.662 GB, free: 7.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.2536, allocations: 0 / 0.662 GB, free: 7.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01399/0.2676, allocations: 4.039 MB / 0.6659 GB, free: 2.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.2677, allocations: 4 kB / 0.6659 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.2677, allocations: 4 kB / 0.6659 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.2742, allocations: 1.862 MB / 0.6678 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/0.2751, allocations: 163.8 kB / 0.6679 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.2981, allocations: 9.07 MB / 0.6768 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.2997, allocations: 159 kB / 0.6769 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.3, allocations: 35.98 kB / 0.677 GB, free: 7.52 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0006487/0.3006, allocations: 222.2 kB / 0.6772 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.3009, allocations: 98.78 kB / 0.6773 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.3141, allocations: 3.825 MB / 0.681 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.3142, allocations: 8 kB / 0.681 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3142, allocations: 0 / 0.681 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.3142, allocations: 3.984 kB / 0.681 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.3298, allocations: 5.337 MB / 0.6862 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.3298, allocations: 0 / 0.6862 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.3304, allocations: 83.89 kB / 0.6863 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006136/0.3365, allocations: 1.745 MB / 0.688 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.3368, allocations: 20 kB / 0.688 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.3566, allocations: 8.072 MB / 0.6959 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3567, allocations: 0 / 0.6959 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.3724, allocations: 4.689 MB / 0.7005 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.3729, allocations: 183.6 kB / 0.7007 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.3732, allocations: 23.92 kB / 0.7007 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.3744, allocations: 91.97 kB / 0.7008 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007969/0.3753, allocations: 204.6 kB / 0.701 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.3754, allocations: 16 kB / 0.701 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008367/0.3762, allocations: 0.5303 MB / 0.7015 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3763, allocations: 7.938 kB / 0.7015 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00163/0.3779, allocations: 395.6 kB / 0.7019 GB, free: 13.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.0003747/0.3783, allocations: 123.2 kB / 0.702 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007013/0.3853, allocations: 2.31 MB / 0.7043 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3854, allocations: 0 / 0.7043 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004986/0.3903, allocations: 1.508 MB / 0.7057 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3915, allocations: 79.3 kB / 0.7058 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3952, allocations: 1.693 MB / 0.7075 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.396, allocations: 1.025 MB / 0.7085 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.3963, allocations: 59.42 kB / 0.7085 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.3963, allocations: 4 kB / 0.7085 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.3398/0.7362, allocations: 17.66 MB / 0.7258 GB, free: 83.16 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)