Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.2 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.6 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5083/0.5083, allocations: 91.89 MB / 431.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 80.2 kB / 0.5019 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3988, allocations: 71.26 MB / 0.5715 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005674/0.4045, allocations: 6.457 MB / 0.5778 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.4077, allocations: 1.874 MB / 0.5796 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.4082, allocations: 11.53 kB / 0.5796 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.4088, allocations: 226 kB / 0.5798 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.4104, allocations: 0.7162 MB / 0.5805 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4116, allocations: 0.6073 MB / 0.5811 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.4127, allocations: 1.415 MB / 0.5825 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.4131, allocations: 328 kB / 0.5828 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.4137, allocations: 0.5781 MB / 0.5834 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.4143, allocations: 0.7362 MB / 0.5841 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.4144, allocations: 101.7 kB / 0.5842 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.4149, allocations: 242.5 kB / 0.5844 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4151, allocations: 278.1 kB / 0.5847 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.4154, allocations: 0.6266 MB / 0.5853 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.4166, allocations: 1.502 MB / 0.5868 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4166, allocations: 4 kB / 0.5868 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4166, allocations: 0 / 0.5868 GB, free: 27.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4166, allocations: 1.438 kB / 0.5868 GB, free: 27.8 MB / 430.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.007599/0.4242, allocations: 2.558 MB / 0.5893 GB, free: 26.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4243, allocations: 13.59 kB / 0.5893 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.4292, allocations: 0.7767 MB / 0.59 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.4304, allocations: 0.7719 MB / 0.5908 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.4307, allocations: 260.8 kB / 0.591 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.4308, allocations: 79.92 kB / 0.5911 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.4332, allocations: 1.078 MB / 0.5922 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4332, allocations: 5.125 kB / 0.5922 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.4333, allocations: 30.19 kB / 0.5922 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4333, allocations: 18.69 kB / 0.5922 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.4358, allocations: 1.118 MB / 0.5933 GB, free: 24.9 MB / 430.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.00545/0.4413, allocations: 3.475 MB / 0.5967 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.4435, allocations: 1.421 MB / 0.5981 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.4452, allocations: 0.7863 MB / 0.5989 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.4453, allocations: 16.67 kB / 0.5989 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4453, allocations: 43.88 kB / 0.5989 GB, free: 21.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.846e-06/0.4454, allocations: 1 kB / 0.5989 GB, free: 21.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02801/0.4734, allocations: 6.605 MB / 0.6054 GB, free: 20.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4734, allocations: 67.58 kB / 0.6054 GB, free: 20.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.4751, allocations: 0.8969 MB / 0.6063 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.4752, allocations: 41.14 kB / 0.6063 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.4756, allocations: 498.6 kB / 0.6068 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.4759, allocations: 350.4 kB / 0.6072 GB, free: 19.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.4764, allocations: 200.7 kB / 0.6074 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.4764, allocations: 351 kB / 0.6077 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.4782, allocations: 0.7203 MB / 0.6084 GB, free: 18.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4801, allocations: 0.8544 MB / 0.6092 GB, free: 18.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/0.4999, allocations: 4.838 MB / 0.6139 GB, free: 16.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.5, allocations: 0.875 kB / 0.6139 GB, free: 16.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01379/0.5138, allocations: 4.278 MB / 0.6181 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.5138, allocations: 9.875 kB / 0.6181 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5139, allocations: 7.938 kB / 0.6181 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/0.5197, allocations: 1.807 MB / 0.6199 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5208, allocations: 207.7 kB / 0.6201 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.5408, allocations: 9.337 MB / 0.6292 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.5426, allocations: 175 kB / 0.6294 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.5429, allocations: 39.97 kB / 0.6294 GB, free: 2.672 MB / 430.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.0005784/0.5434, allocations: 255.3 kB / 0.6297 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.5438, allocations: 118.5 kB / 0.6298 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.5574, allocations: 4.018 MB / 0.6337 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5575, allocations: 8 kB / 0.6337 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5575, allocations: 0 / 0.6337 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.5575, allocations: 7.984 kB / 0.6337 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.5735, allocations: 5.614 MB / 0.6392 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5736, allocations: 0 / 0.6392 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/0.5744, allocations: 131.8 kB / 0.6393 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/0.5808, allocations: 1.753 MB / 0.641 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.5809, allocations: 16 kB / 0.6411 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.6012, allocations: 8.08 MB / 0.6489 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6012, allocations: 0 / 0.6489 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.6176, allocations: 4.974 MB / 0.6538 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.618, allocations: 207.4 kB / 0.654 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/0.6184, allocations: 16 kB / 0.654 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6197, allocations: 111.8 kB / 0.6541 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/0.6205, allocations: 220.7 kB / 0.6543 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.6206, allocations: 24 kB / 0.6544 GB, free: 8.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000767/0.6214, allocations: 0.6047 MB / 0.655 GB, free: 8.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6214, allocations: 0 / 0.655 GB, free: 8.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001337/0.6227, allocations: 439.4 kB / 0.6554 GB, free: 7.727 MB / 462.1 MB 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.0002626/0.623, allocations: 127.1 kB / 0.6555 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007439/0.6304, allocations: 2.531 MB / 0.658 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6305, allocations: 0 / 0.658 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/0.6354, allocations: 1.593 MB / 0.6595 GB, free: 3.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.6363, allocations: 90.59 kB / 0.6596 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.64, allocations: 2.026 MB / 0.6616 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.6407, allocations: 1.099 MB / 0.6627 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.6411, allocations: 90.77 kB / 0.6627 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.6413, allocations: 71.34 kB / 0.6628 GB, free: 28 kB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6414, allocations: 0 / 0.6628 GB, free: 28 kB / 462.1 MB Notification: Performance of Templates: time 0.03981/0.6812, allocations: 23.69 MB / 0.6859 GB, free: 8.363 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)