Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 132 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.374/1.374, allocations: 222.9 MB / 239.2 MB, free: 4.586 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.001352/0.001352, allocations: 188.4 kB / 289.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4497/0.4497, allocations: 78.53 MB / 418.2 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 83.86 kB / 497.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 68.18 MB / 0.5524 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2736/0.4197, allocations: 6.428 MB / 0.5586 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.4237, allocations: 1.854 MB / 0.5604 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.4244, allocations: 16.78 kB / 0.5605 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.4251, allocations: 222.7 kB / 0.5607 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.4267, allocations: 0.7162 MB / 0.5614 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.4279, allocations: 0.6145 MB / 0.562 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.4293, allocations: 1.411 MB / 0.5634 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.4298, allocations: 323.3 kB / 0.5637 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.4304, allocations: 0.5869 MB / 0.5642 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.4311, allocations: 0.7297 MB / 0.5649 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.4312, allocations: 103.2 kB / 0.565 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.4318, allocations: 235.5 kB / 0.5653 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.432, allocations: 286.2 kB / 0.5655 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.4324, allocations: 0.6263 MB / 0.5662 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.4339, allocations: 1.508 MB / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4339, allocations: 2.469 kB / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4339, allocations: 0 / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4339, allocations: 0 / 0.5676 GB, free: 34.19 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.008028/0.442, allocations: 2.559 MB / 0.5701 GB, free: 33.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.442, allocations: 9.531 kB / 0.5701 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.447, allocations: 0.7838 MB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.4481, allocations: 0.7693 MB / 0.5717 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.4484, allocations: 257.2 kB / 0.5719 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.4485, allocations: 75.09 kB / 0.572 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.4509, allocations: 1.081 MB / 0.573 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.451, allocations: 5.25 kB / 0.573 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.4511, allocations: 32.41 kB / 0.5731 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4511, allocations: 21.75 kB / 0.5731 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.4534, allocations: 1.119 MB / 0.5742 GB, free: 32.52 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.00537/0.4588, allocations: 3.462 MB / 0.5776 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.4608, allocations: 1.426 MB / 0.579 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4623, allocations: 0.7819 MB / 0.5797 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.57e-05/0.4624, allocations: 21.67 kB / 0.5797 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4624, allocations: 42.09 kB / 0.5798 GB, free: 30.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/0.4625, allocations: 0 / 0.5798 GB, free: 30.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02561/0.4881, allocations: 6.606 MB / 0.5862 GB, free: 28.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4881, allocations: 63.03 kB / 0.5863 GB, free: 28.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4893, allocations: 0.9003 MB / 0.5872 GB, free: 28.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.4896, allocations: 41.48 kB / 0.5872 GB, free: 28.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.4899, allocations: 0.4914 MB / 0.5877 GB, free: 28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.4902, allocations: 355.5 kB / 0.588 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.4906, allocations: 200.9 kB / 0.5882 GB, free: 27.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.4907, allocations: 350.6 kB / 0.5886 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.4925, allocations: 0.7207 MB / 0.5893 GB, free: 27.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.4943, allocations: 0.8471 MB / 0.5901 GB, free: 26.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/0.5138, allocations: 4.842 MB / 0.5948 GB, free: 25.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.5139, allocations: 1.281 kB / 0.5948 GB, free: 25.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01465/0.5285, allocations: 4.269 MB / 0.599 GB, free: 24.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.5286, allocations: 6.312 kB / 0.599 GB, free: 24.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5286, allocations: 9.281 kB / 0.599 GB, free: 24.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006756/0.5354, allocations: 1.815 MB / 0.6008 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.5367, allocations: 206.7 kB / 0.601 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.5586, allocations: 9.337 MB / 0.6101 GB, free: 18.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.5604, allocations: 178.5 kB / 0.6103 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.5606, allocations: 38.95 kB / 0.6103 GB, free: 18.73 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.0004966/0.5611, allocations: 247.1 kB / 0.6105 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.5613, allocations: 118.8 kB / 0.6106 GB, free: 18.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.5737, allocations: 4.015 MB / 0.6146 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.5738, allocations: 8.812 kB / 0.6146 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5738, allocations: 4 kB / 0.6146 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.5739, allocations: 7.984 kB / 0.6146 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.5887, allocations: 5.611 MB / 0.6201 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.5888, allocations: 9.594 kB / 0.6201 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.5895, allocations: 132.8 kB / 0.6202 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0055/0.595, allocations: 1.75 MB / 0.6219 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.5952, allocations: 16 kB / 0.6219 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.6124, allocations: 8.078 MB / 0.6298 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6124, allocations: 3.938 kB / 0.6298 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.6282, allocations: 4.962 MB / 0.6347 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.6287, allocations: 199.4 kB / 0.6348 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.6291, allocations: 16 kB / 0.6349 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6304, allocations: 127.7 kB / 0.635 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008023/0.6312, allocations: 213.2 kB / 0.6352 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6313, allocations: 28 kB / 0.6352 GB, free: 9.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.6324, allocations: 0.6047 MB / 0.6358 GB, free: 9.004 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6324, allocations: 0 / 0.6358 GB, free: 9.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001846/0.6342, allocations: 439.4 kB / 0.6362 GB, free: 8.57 MB / 446.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.000348/0.6346, allocations: 123.2 kB / 0.6363 GB, free: 8.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00783/0.6424, allocations: 2.528 MB / 0.6388 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6425, allocations: 0 / 0.6388 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004902/0.6474, allocations: 1.598 MB / 0.6404 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.6484, allocations: 90.28 kB / 0.6405 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.6528, allocations: 2.036 MB / 0.6424 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.6535, allocations: 1.095 MB / 0.6435 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003838/0.6539, allocations: 90.23 kB / 0.6436 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.6541, allocations: 67.42 kB / 0.6437 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6542, allocations: 4 kB / 0.6437 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of Templates: time 0.03974/0.6939, allocations: 23.7 MB / 0.6668 GB, free: 9.395 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)