Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 221.8 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009851/0.0009852, allocations: 105.4 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07382/0.07382, allocations: 12.59 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2944/0.2944, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 106.7 kB / 0.5254 GB, free: 19.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1224, allocations: 68.12 MB / 0.592 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007358/0.1298, allocations: 6.186 MB / 0.598 GB, free: 9.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.1344, allocations: 1.767 MB / 0.5997 GB, free: 7.629 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.1358, allocations: 8 kB / 0.5997 GB, free: 7.621 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008794/0.1367, allocations: 155 kB / 0.5999 GB, free: 7.469 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.1393, allocations: 0.6101 MB / 0.6005 GB, free: 6.855 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1408, allocations: 0.5259 MB / 0.601 GB, free: 6.336 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.1429, allocations: 1.206 MB / 0.6022 GB, free: 5.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.1435, allocations: 247.8 kB / 0.6024 GB, free: 4.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.1445, allocations: 0.4899 MB / 0.6029 GB, free: 4.383 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009554/0.1454, allocations: 0.6143 MB / 0.6035 GB, free: 3.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.1458, allocations: 56 kB / 0.6035 GB, free: 3.711 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.1464, allocations: 187.9 kB / 0.6037 GB, free: 3.527 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1467, allocations: 214.8 kB / 0.6039 GB, free: 3.316 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.1475, allocations: 0.5124 MB / 0.6044 GB, free: 2.801 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.1491, allocations: 1.304 MB / 0.6057 GB, free: 1.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1491, allocations: 0 / 0.6057 GB, free: 1.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1491, allocations: 4 kB / 0.6057 GB, free: 1.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.543e-05/0.1492, allocations: 0 / 0.6057 GB, free: 1.488 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008166/0.1574, allocations: 2.349 MB / 0.608 GB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1574, allocations: 11.98 kB / 0.608 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.1623, allocations: 0.7556 MB / 0.6088 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.1639, allocations: 0.7049 MB / 0.6094 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/0.1643, allocations: 256.2 kB / 0.6097 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.1646, allocations: 71.94 kB / 0.6098 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.167, allocations: 0.9676 MB / 0.6107 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.167, allocations: 3.938 kB / 0.6107 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.1671, allocations: 24 kB / 0.6107 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1672, allocations: 16 kB / 0.6107 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.1693, allocations: 0.9799 MB / 0.6117 GB, free: 11.21 MB / 410.7 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.006341/0.1757, allocations: 3.178 MB / 0.6148 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.178, allocations: 1.313 MB / 0.6161 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.1794, allocations: 0.7048 MB / 0.6168 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.1796, allocations: 12.98 kB / 0.6168 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1796, allocations: 51.48 kB / 0.6168 GB, free: 5.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.886e-06/0.1796, allocations: 0 / 0.6168 GB, free: 5.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.0266/0.2062, allocations: 6.469 MB / 0.6232 GB, free: 15.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.2063, allocations: 68.34 kB / 0.6232 GB, free: 15.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2075, allocations: 0.7983 MB / 0.624 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.2076, allocations: 41.7 kB / 0.624 GB, free: 14.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.208, allocations: 432.5 kB / 0.6244 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.2083, allocations: 291.7 kB / 0.6247 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.2087, allocations: 190.8 kB / 0.6249 GB, free: 13.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2089, allocations: 341.9 kB / 0.6252 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.2104, allocations: 0.6663 MB / 0.6259 GB, free: 12.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.2121, allocations: 0.7796 MB / 0.6266 GB, free: 11.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01849/0.2306, allocations: 4.527 MB / 0.6311 GB, free: 6.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.2306, allocations: 3.938 kB / 0.6311 GB, free: 6.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01398/0.2446, allocations: 4.075 MB / 0.6351 GB, free: 2.855 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2447, allocations: 7.984 kB / 0.6351 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.2447, allocations: 7.984 kB / 0.6351 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/0.251, allocations: 1.73 MB / 0.6368 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.2521, allocations: 191.7 kB / 0.6369 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2206/0.4727, allocations: 8.33 MB / 0.6451 GB, free: 47.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4742, allocations: 157.6 kB / 0.6452 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.4744, allocations: 36.27 kB / 0.6453 GB, free: 47.04 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.4749, allocations: 227.5 kB / 0.6455 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.4751, allocations: 105.9 kB / 0.6456 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.4892, allocations: 3.81 MB / 0.6493 GB, free: 46.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.4893, allocations: 9.516 kB / 0.6493 GB, free: 46.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4893, allocations: 3.906 kB / 0.6493 GB, free: 46.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.4894, allocations: 9.062 kB / 0.6493 GB, free: 46.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.5049, allocations: 5.382 MB / 0.6546 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.505, allocations: 0 / 0.6546 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.5057, allocations: 89.28 kB / 0.6547 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006108/0.5118, allocations: 1.746 MB / 0.6564 GB, free: 43.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.512, allocations: 11.94 kB / 0.6564 GB, free: 43.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.5299, allocations: 7.34 MB / 0.6635 GB, free: 39.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.53, allocations: 3.984 kB / 0.6635 GB, free: 39.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08328/0.6133, allocations: 31.13 MB / 0.6939 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.6136, allocations: 187.7 kB / 0.6941 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6138, allocations: 12 kB / 0.6941 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/0.6147, allocations: 91.98 kB / 0.6942 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/0.6153, allocations: 204.6 kB / 0.6944 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.581e-05/0.6154, allocations: 23.12 kB / 0.6944 GB, free: 11.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005868/0.616, allocations: 0.5341 MB / 0.695 GB, free: 10.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.616, allocations: 4 kB / 0.695 GB, free: 10.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001909/0.6179, allocations: 0.5518 MB / 0.6955 GB, free: 10.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.0002381/0.6182, allocations: 126.1 kB / 0.6956 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005903/0.6241, allocations: 2.267 MB / 0.6978 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6241, allocations: 0.5625 kB / 0.6978 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004222/0.6283, allocations: 1.469 MB / 0.6993 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.629, allocations: 79.28 kB / 0.6993 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.6352, allocations: 3.398 MB / 0.7027 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6356, allocations: 1.071 MB / 0.7037 GB, free: 1.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003/0.6359, allocations: 78.31 kB / 0.7038 GB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.6361, allocations: 63.36 kB / 0.7038 GB, free: 1.398 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6361, allocations: 4 kB / 0.7039 GB, free: 1.395 MB / 426.7 MB Notification: Performance of Templates: time 0.04111/0.6772, allocations: 29.3 MB / 0.7325 GB, free: 4.113 MB / 458.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)