Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239 MB, free: 4.695 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.001369/0.001368, allocations: 196.4 kB / 289.3 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5468/0.5468, allocations: 91.9 MB / 431.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 75.88 kB / 0.5014 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3385, allocations: 71.27 MB / 0.571 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005324/0.3439, allocations: 6.838 MB / 0.5777 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3469, allocations: 1.933 MB / 0.5795 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.3475, allocations: 11.91 kB / 0.5796 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.348, allocations: 174.6 kB / 0.5797 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.3494, allocations: 0.6302 MB / 0.5803 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3505, allocations: 0.5756 MB / 0.5809 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3518, allocations: 1.414 MB / 0.5823 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.3522, allocations: 337.9 kB / 0.5826 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.3528, allocations: 0.5893 MB / 0.5832 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.3534, allocations: 0.7303 MB / 0.5839 GB, free: 29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3536, allocations: 100.3 kB / 0.584 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.354, allocations: 240.2 kB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3542, allocations: 280.7 kB / 0.5845 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.3545, allocations: 0.6279 MB / 0.5851 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3557, allocations: 1.492 MB / 0.5866 GB, free: 27.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3557, allocations: 1.094 kB / 0.5866 GB, free: 27.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3557, allocations: 7.938 kB / 0.5866 GB, free: 27.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.3557, allocations: 0 / 0.5866 GB, free: 27.65 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007685/0.3634, allocations: 2.558 MB / 0.5891 GB, free: 26.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3635, allocations: 8.594 kB / 0.5891 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.3684, allocations: 0.7811 MB / 0.5898 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.3696, allocations: 0.7713 MB / 0.5906 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.3699, allocations: 265.6 kB / 0.5908 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3701, allocations: 75.56 kB / 0.5909 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.3723, allocations: 1.079 MB / 0.592 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3724, allocations: 3.938 kB / 0.592 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/0.3725, allocations: 30.91 kB / 0.592 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.3725, allocations: 18.47 kB / 0.592 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.3748, allocations: 1.127 MB / 0.5931 GB, free: 24.74 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.005931/0.3807, allocations: 3.499 MB / 0.5965 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.3828, allocations: 1.423 MB / 0.5979 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3843, allocations: 0.7915 MB / 0.5987 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.3844, allocations: 21.47 kB / 0.5987 GB, free: 21.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3844, allocations: 44.28 kB / 0.5988 GB, free: 21.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/0.3844, allocations: 0 / 0.5988 GB, free: 21.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02758/0.412, allocations: 6.876 MB / 0.6055 GB, free: 20.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4121, allocations: 62.61 kB / 0.6055 GB, free: 20.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4134, allocations: 0.8899 MB / 0.6064 GB, free: 19.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.4137, allocations: 40.48 kB / 0.6064 GB, free: 19.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.414, allocations: 0.4896 MB / 0.6069 GB, free: 19.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.4144, allocations: 348.1 kB / 0.6072 GB, free: 19.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.4148, allocations: 210.8 kB / 0.6075 GB, free: 18.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.4149, allocations: 351 kB / 0.6078 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4166, allocations: 0.7262 MB / 0.6085 GB, free: 18.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.4183, allocations: 0.8618 MB / 0.6093 GB, free: 18.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01943/0.4377, allocations: 4.86 MB / 0.6141 GB, free: 16.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.4378, allocations: 0 / 0.6141 GB, free: 16.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01326/0.451, allocations: 4.283 MB / 0.6183 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4511, allocations: 4 kB / 0.6183 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.4511, allocations: 4 kB / 0.6183 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005446/0.4566, allocations: 1.722 MB / 0.62 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4578, allocations: 227.7 kB / 0.6202 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.4765, allocations: 9.08 MB / 0.629 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.4781, allocations: 178.9 kB / 0.6292 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.4783, allocations: 43.98 kB / 0.6293 GB, free: 2.465 MB / 430.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.0005626/0.4789, allocations: 237.6 kB / 0.6295 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.4792, allocations: 122.4 kB / 0.6296 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.4916, allocations: 4.01 MB / 0.6335 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4917, allocations: 12 kB / 0.6335 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4917, allocations: 0 / 0.6335 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.4917, allocations: 3.984 kB / 0.6335 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.5081, allocations: 5.645 MB / 0.639 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.5081, allocations: 0 / 0.639 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008692/0.509, allocations: 123.9 kB / 0.6392 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/0.515, allocations: 1.741 MB / 0.6409 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.5152, allocations: 19.98 kB / 0.6409 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.5342, allocations: 8.065 MB / 0.6488 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5343, allocations: 0 / 0.6488 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/0.5497, allocations: 4.958 MB / 0.6536 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.5503, allocations: 207.4 kB / 0.6538 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/0.5508, allocations: 16 kB / 0.6538 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.552, allocations: 107.9 kB / 0.6539 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008525/0.5529, allocations: 220.7 kB / 0.6541 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.5531, allocations: 31.98 kB / 0.6542 GB, free: 8.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009035/0.554, allocations: 0.6007 MB / 0.6547 GB, free: 7.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.554, allocations: 0 / 0.6547 GB, free: 7.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001541/0.5555, allocations: 443.4 kB / 0.6552 GB, free: 7.551 MB / 462.1 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 (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.0003057/0.5559, allocations: 127.2 kB / 0.6553 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007339/0.5632, allocations: 2.502 MB / 0.6577 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5632, allocations: 4.188 kB / 0.6577 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004919/0.5682, allocations: 1.601 MB / 0.6593 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.5692, allocations: 102.6 kB / 0.6594 GB, free: 3.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.5737, allocations: 2.48 MB / 0.6618 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.5745, allocations: 1.099 MB / 0.6629 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004793/0.575, allocations: 90.77 kB / 0.663 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.5753, allocations: 71.41 kB / 0.663 GB, free: 15.39 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5753, allocations: 0 / 0.663 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Templates: time 0.03656/0.6119, allocations: 22.22 MB / 0.6847 GB, free: 9.188 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)