Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06946/0.06946, allocations: 12.59 MB / 28.76 MB, free: 1.113 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.0008776/0.0008776, allocations: 105.8 kB / 32.36 MB, free: 4.07 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.105/1.105, allocations: 205.1 MB / 241 MB, free: 12.45 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.001139/0.001139, allocations: 188.5 kB / 291.2 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3673/0.3673, allocations: 78.51 MB / 419.8 MB, free: 11.37 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.002343/0.002343, allocations: 143.8 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2141, allocations: 68.12 MB / 0.5552 GB, free: 32.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004588/0.2187, allocations: 5.783 MB / 0.5609 GB, free: 28.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.2211, allocations: 1.714 MB / 0.5626 GB, free: 27.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.2214, allocations: 8.688 kB / 0.5626 GB, free: 27.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.2217, allocations: 211.5 kB / 0.5628 GB, free: 26.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2228, allocations: 0.6726 MB / 0.5634 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.2237, allocations: 0.5632 MB / 0.564 GB, free: 25.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.2246, allocations: 1.24 MB / 0.5652 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.2249, allocations: 277.9 kB / 0.5654 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.2253, allocations: 0.5232 MB / 0.566 GB, free: 24.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.2258, allocations: 0.6424 MB / 0.5666 GB, free: 24.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2259, allocations: 88.31 kB / 0.5667 GB, free: 24.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2263, allocations: 219.8 kB / 0.5669 GB, free: 24.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2264, allocations: 247.2 kB / 0.5671 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.2267, allocations: 0.546 MB / 0.5676 GB, free: 23.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.2275, allocations: 1.341 MB / 0.569 GB, free: 22.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2275, allocations: 1.125 kB / 0.569 GB, free: 22.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2276, allocations: 0 / 0.569 GB, free: 22.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.2276, allocations: 0 / 0.569 GB, free: 22.64 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006236/0.2338, allocations: 2.352 MB / 0.5713 GB, free: 21.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.2338, allocations: 13.45 kB / 0.5713 GB, free: 21.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.2382, allocations: 0.7652 MB / 0.572 GB, free: 20.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.2389, allocations: 0.7042 MB / 0.5727 GB, free: 20.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.2391, allocations: 252.1 kB / 0.5729 GB, free: 20.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2392, allocations: 68.31 kB / 0.573 GB, free: 20 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2408, allocations: 0.9498 MB / 0.5739 GB, free: 19.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2409, allocations: 7.922 kB / 0.5739 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.2409, allocations: 30.31 kB / 0.574 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.241, allocations: 16 kB / 0.574 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.2427, allocations: 0.9738 MB / 0.5749 GB, free: 18.98 MB / 398.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.003783/0.2465, allocations: 3.171 MB / 0.578 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.248, allocations: 1.308 MB / 0.5793 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.2491, allocations: 0.6999 MB / 0.58 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.2492, allocations: 20.62 kB / 0.58 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.2492, allocations: 43.22 kB / 0.5801 GB, free: 13.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 1.663e-06/0.2492, allocations: 0 / 0.5801 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02317/0.2724, allocations: 6.755 MB / 0.5867 GB, free: 6.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.2724, allocations: 60.06 kB / 0.5867 GB, free: 6.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.273, allocations: 0.8025 MB / 0.5875 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.2731, allocations: 41.7 kB / 0.5875 GB, free: 5.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2733, allocations: 440.3 kB / 0.588 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.2735, allocations: 295.8 kB / 0.5882 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.2737, allocations: 182.8 kB / 0.5884 GB, free: 5.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.2738, allocations: 345.9 kB / 0.5887 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.2749, allocations: 0.6467 MB / 0.5894 GB, free: 4.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.2761, allocations: 0.7718 MB / 0.5901 GB, free: 3.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/0.2914, allocations: 4.519 MB / 0.5945 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2914, allocations: 0 / 0.5945 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01222/0.3036, allocations: 4.113 MB / 0.5986 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3036, allocations: 4 kB / 0.5986 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3037, allocations: 8 kB / 0.5986 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.3094, allocations: 1.791 MB / 0.6003 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.3101, allocations: 167.7 kB / 0.6005 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.3298, allocations: 9.332 MB / 0.6096 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.331, allocations: 159 kB / 0.6097 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.3311, allocations: 39.92 kB / 0.6098 GB, free: 14.89 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0003502/0.3314, allocations: 232.9 kB / 0.61 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3316, allocations: 102.8 kB / 0.6101 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.3436, allocations: 3.829 MB / 0.6138 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3436, allocations: 8 kB / 0.6138 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3436, allocations: 4 kB / 0.6139 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.3436, allocations: 3.984 kB / 0.6139 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.357, allocations: 5.356 MB / 0.6191 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.357, allocations: 0 / 0.6191 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.3574, allocations: 87.83 kB / 0.6192 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005521/0.363, allocations: 1.749 MB / 0.6209 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.3631, allocations: 16 kB / 0.6209 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.38, allocations: 8.08 MB / 0.6288 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.38, allocations: 3.938 kB / 0.6288 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.3933, allocations: 4.7 MB / 0.6334 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.3936, allocations: 191.7 kB / 0.6336 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3937, allocations: 19.98 kB / 0.6336 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/0.3945, allocations: 87.91 kB / 0.6337 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/0.395, allocations: 204.6 kB / 0.6339 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.3951, allocations: 20 kB / 0.6339 GB, free: 5.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005608/0.3956, allocations: 0.5383 MB / 0.6344 GB, free: 5.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3957, allocations: 0 / 0.6344 GB, free: 5.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009513/0.3966, allocations: 415.6 kB / 0.6348 GB, free: 4.898 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0001898/0.3968, allocations: 115.5 kB / 0.6349 GB, free: 4.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00595/0.4028, allocations: 2.357 MB / 0.6372 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4028, allocations: 0 / 0.6372 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004107/0.4069, allocations: 1.504 MB / 0.6387 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.4074, allocations: 90.02 kB / 0.6388 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.4099, allocations: 1.783 MB / 0.6405 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4104, allocations: 1.037 MB / 0.6415 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4106, allocations: 63.42 kB / 0.6416 GB, free: 13.87 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4106, allocations: 0 / 0.6416 GB, free: 13.87 MB / 462.1 MB Notification: Performance of Templates: time 0.018/0.4286, allocations: 17.74 MB / 0.6589 GB, free: 12.11 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)