Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07747/0.07747, allocations: 12.6 MB / 28.9 MB, free: 0.6172 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.001214/0.001214, allocations: 107.5 kB / 32.5 MB, free: 3.559 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.387/1.387, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001613/0.001613, allocations: 192.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4453/0.4453, allocations: 78.51 MB / 420 MB, free: 11.23 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.004069/0.004069, allocations: 136.2 kB / 0.5565 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1129, allocations: 68.13 MB / 0.6231 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008009/0.1209, allocations: 6.55 MB / 0.6295 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.125, allocations: 1.842 MB / 0.6313 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005289/0.1255, allocations: 8 kB / 0.6313 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.1261, allocations: 226 kB / 0.6315 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.1278, allocations: 0.7688 MB / 0.6323 GB, free: 5.941 MB / 446.1 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.001393/0.1292, allocations: 0.6193 MB / 0.6329 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.1309, allocations: 1.425 MB / 0.6343 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.1313, allocations: 224.3 kB / 0.6345 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.132, allocations: 0.599 MB / 0.635 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008756/0.1329, allocations: 0.7349 MB / 0.6358 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.133, allocations: 100 kB / 0.6359 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1335, allocations: 235.9 kB / 0.6361 GB, free: 2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1338, allocations: 278.8 kB / 0.6364 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.1344, allocations: 0.6329 MB / 0.637 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1361, allocations: 1.521 MB / 0.6385 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1361, allocations: 4 kB / 0.6385 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1361, allocations: 0 / 0.6385 GB, free: 15.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1362, allocations: 0 / 0.6385 GB, free: 15.56 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008599/0.1448, allocations: 2.598 MB / 0.641 GB, free: 12.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1448, allocations: 11.98 kB / 0.641 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/0.1503, allocations: 0.7874 MB / 0.6418 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1516, allocations: 0.7851 MB / 0.6425 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.1519, allocations: 260.1 kB / 0.6428 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.1521, allocations: 79.98 kB / 0.6429 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.1547, allocations: 1.077 MB / 0.6439 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1547, allocations: 7.875 kB / 0.6439 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1548, allocations: 28 kB / 0.644 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1548, allocations: 27.94 kB / 0.644 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/0.1577, allocations: 1.12 MB / 0.6451 GB, free: 8.625 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.006524/0.1642, allocations: 3.464 MB / 0.6485 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.1667, allocations: 1.353 MB / 0.6498 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.1685, allocations: 0.6992 MB / 0.6505 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-05/0.1686, allocations: 16.98 kB / 0.6505 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1687, allocations: 47.56 kB / 0.6505 GB, free: 2.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.1687, allocations: 0 / 0.6505 GB, free: 2.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.0284/0.1971, allocations: 6.575 MB / 0.6569 GB, free: 12.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.1971, allocations: 64.41 kB / 0.657 GB, free: 12.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.1984, allocations: 0.8884 MB / 0.6579 GB, free: 11.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.1986, allocations: 41.7 kB / 0.6579 GB, free: 11.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.1991, allocations: 0.4974 MB / 0.6584 GB, free: 10.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.1995, allocations: 364.9 kB / 0.6587 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.1999, allocations: 206.9 kB / 0.6589 GB, free: 10.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2001, allocations: 353.9 kB / 0.6593 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.202, allocations: 0.7287 MB / 0.66 GB, free: 8.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.204, allocations: 0.8619 MB / 0.6608 GB, free: 8.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/0.2246, allocations: 4.854 MB / 0.6656 GB, free: 3.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2246, allocations: 4 kB / 0.6656 GB, free: 3.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01524/0.2399, allocations: 4.25 MB / 0.6697 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2399, allocations: 8 kB / 0.6697 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2399, allocations: 4 kB / 0.6697 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006511/0.2464, allocations: 1.722 MB / 0.6714 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.2477, allocations: 235.6 kB / 0.6716 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.2707, allocations: 9.05 MB / 0.6805 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.2721, allocations: 187.2 kB / 0.6807 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.2722, allocations: 39.98 kB / 0.6807 GB, free: 3.531 MB / 494.1 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 (117): * Single equations (assignments): 116 * 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.0004926/0.2727, allocations: 242.9 kB / 0.6809 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.2729, allocations: 139.1 kB / 0.6811 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/0.2872, allocations: 3.979 MB / 0.685 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.2872, allocations: 8 kB / 0.685 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2872, allocations: 0 / 0.685 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2872, allocations: 3.984 kB / 0.685 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.3033, allocations: 5.575 MB / 0.6904 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3033, allocations: 0 / 0.6904 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.304, allocations: 127.9 kB / 0.6905 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006426/0.3104, allocations: 1.741 MB / 0.6922 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.3105, allocations: 19.98 kB / 0.6922 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.3309, allocations: 8.062 MB / 0.7001 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3309, allocations: 4 kB / 0.7001 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.3472, allocations: 4.922 MB / 0.7049 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.3475, allocations: 212.1 kB / 0.7051 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.3477, allocations: 20 kB / 0.7052 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.3487, allocations: 107.9 kB / 0.7053 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006911/0.3494, allocations: 228.5 kB / 0.7055 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.3495, allocations: 28 kB / 0.7055 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007873/0.3503, allocations: 0.593 MB / 0.7061 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 0.7061 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001168/0.3515, allocations: 447.6 kB / 0.7065 GB, free: 8.738 MB / 0.5137 GB 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 (65): * Single equations (assignments): 64 * 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.0002568/0.3517, allocations: 127.1 kB / 0.7066 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007096/0.3588, allocations: 2.369 MB / 0.7089 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3588, allocations: 0 / 0.7089 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005024/0.3638, allocations: 1.53 MB / 0.7104 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.3645, allocations: 103.6 kB / 0.7105 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.3681, allocations: 2.078 MB / 0.7126 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.3688, allocations: 1.103 MB / 0.7136 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003297/0.3691, allocations: 90.75 kB / 0.7137 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.3694, allocations: 67.42 kB / 0.7138 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.3694, allocations: 4 kB / 0.7138 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of Templates: time 0.258/0.6274, allocations: 23.77 MB / 0.737 GB, free: 79.2 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)