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.001122/0.001122, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.363/1.363, allocations: 222.9 MB / 240 MB, free: 4.52 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.001346/0.001346, allocations: 196.4 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4398/0.4398, allocations: 78.54 MB / 419 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 79.86 kB / 498.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 68.17 MB / 0.5538 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2018/0.3177, allocations: 6.428 MB / 0.56 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3205, allocations: 1.865 MB / 0.5619 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.3209, allocations: 12.78 kB / 0.5619 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.3214, allocations: 232 kB / 0.5621 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3229, allocations: 0.7062 MB / 0.5628 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3239, allocations: 0.6074 MB / 0.5634 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.325, allocations: 1.423 MB / 0.5648 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.3254, allocations: 327.6 kB / 0.5651 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.3259, allocations: 0.5867 MB / 0.5657 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.3265, allocations: 0.7347 MB / 0.5664 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3266, allocations: 101.6 kB / 0.5665 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.327, allocations: 236.6 kB / 0.5667 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.3272, allocations: 285.4 kB / 0.567 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.3276, allocations: 0.622 MB / 0.5676 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3287, allocations: 1.525 MB / 0.5691 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3287, allocations: 3.094 kB / 0.5691 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3287, allocations: 1 kB / 0.5691 GB, free: 33.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3287, allocations: 0.75 kB / 0.5691 GB, free: 33.66 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.007167/0.3359, allocations: 2.562 MB / 0.5716 GB, free: 32.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3359, allocations: 8.469 kB / 0.5716 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.3408, allocations: 0.7824 MB / 0.5724 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3419, allocations: 0.7711 MB / 0.5731 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.3422, allocations: 260.5 kB / 0.5734 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3423, allocations: 76.84 kB / 0.5734 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.3443, allocations: 1.084 MB / 0.5745 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3443, allocations: 6.094 kB / 0.5745 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.3444, allocations: 31.44 kB / 0.5745 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3444, allocations: 18.38 kB / 0.5745 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.3466, allocations: 1.12 MB / 0.5756 GB, free: 31.99 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.004799/0.3514, allocations: 3.435 MB / 0.579 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.3533, allocations: 1.429 MB / 0.5804 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3547, allocations: 0.7824 MB / 0.5811 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3548, allocations: 15.84 kB / 0.5812 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3548, allocations: 42.41 kB / 0.5812 GB, free: 29.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.625e-06/0.3548, allocations: 0 / 0.5812 GB, free: 29.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02324/0.3781, allocations: 6.607 MB / 0.5877 GB, free: 28.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.3781, allocations: 62.03 kB / 0.5877 GB, free: 28.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3793, allocations: 0.906 MB / 0.5886 GB, free: 27.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.3794, allocations: 41.17 kB / 0.5886 GB, free: 27.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.3797, allocations: 0.4907 MB / 0.5891 GB, free: 27.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.38, allocations: 346.1 kB / 0.5894 GB, free: 27.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.3804, allocations: 204.6 kB / 0.5896 GB, free: 27.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.3805, allocations: 347.3 kB / 0.59 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.3821, allocations: 0.7214 MB / 0.5907 GB, free: 26.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.3837, allocations: 0.8547 MB / 0.5915 GB, free: 26.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.4015, allocations: 4.828 MB / 0.5962 GB, free: 24.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4016, allocations: 1.156 kB / 0.5962 GB, free: 24.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01289/0.4145, allocations: 4.271 MB / 0.6004 GB, free: 23.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4145, allocations: 6.5 kB / 0.6004 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4145, allocations: 6.953 kB / 0.6004 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/0.4206, allocations: 1.809 MB / 0.6022 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4217, allocations: 209.7 kB / 0.6024 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.4422, allocations: 9.322 MB / 0.6115 GB, free: 18.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4438, allocations: 178.7 kB / 0.6117 GB, free: 18.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.444, allocations: 39.48 kB / 0.6117 GB, free: 18.36 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.0005938/0.4446, allocations: 245.5 kB / 0.6119 GB, free: 18.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.445, allocations: 122.2 kB / 0.612 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.4563, allocations: 4.015 MB / 0.616 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4564, allocations: 8 kB / 0.616 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4564, allocations: 0 / 0.616 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4564, allocations: 7.984 kB / 0.616 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.4692, allocations: 5.606 MB / 0.6214 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4692, allocations: 0 / 0.6214 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.4698, allocations: 137.4 kB / 0.6216 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005048/0.4749, allocations: 1.746 MB / 0.6233 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.475, allocations: 20 kB / 0.6233 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.4911, allocations: 8.065 MB / 0.6312 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4911, allocations: 0 / 0.6312 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.5055, allocations: 4.968 MB / 0.636 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.5059, allocations: 204.2 kB / 0.6362 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.5061, allocations: 16.94 kB / 0.6362 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.5072, allocations: 119.8 kB / 0.6364 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/0.5079, allocations: 212.7 kB / 0.6366 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.5079, allocations: 23.98 kB / 0.6366 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007808/0.5087, allocations: 0.6047 MB / 0.6372 GB, free: 8.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5087, allocations: 0 / 0.6372 GB, free: 8.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001253/0.51, allocations: 439.4 kB / 0.6376 GB, free: 8.148 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.000256/0.5103, allocations: 135.9 kB / 0.6377 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006641/0.5169, allocations: 2.492 MB / 0.6402 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5169, allocations: 0.5625 kB / 0.6402 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004766/0.5217, allocations: 1.597 MB / 0.6417 GB, free: 3.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.5224, allocations: 88.42 kB / 0.6418 GB, free: 3.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.526, allocations: 2.003 MB / 0.6438 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.5266, allocations: 1.099 MB / 0.6448 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.5269, allocations: 90.2 kB / 0.6449 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5271, allocations: 63.42 kB / 0.645 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5272, allocations: 1.219 kB / 0.645 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of Templates: time 0.03561/0.5628, allocations: 23.72 MB / 0.6681 GB, free: 9.012 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)