Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.000981, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.272/1.272, allocations: 222.9 MB / 238.9 MB, free: 4.629 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.001228/0.001228, allocations: 196.4 kB / 289.1 MB, free: 2.383 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4306/0.4306, allocations: 78.52 MB / 417.8 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 75.89 kB / 496.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 68.18 MB / 0.5517 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2187/0.3573, allocations: 6.704 MB / 0.5582 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.361, allocations: 1.903 MB / 0.5601 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.3619, allocations: 13.28 kB / 0.5601 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.3624, allocations: 170.4 kB / 0.5603 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3641, allocations: 0.6273 MB / 0.5609 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3653, allocations: 0.5605 MB / 0.5614 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3665, allocations: 1.341 MB / 0.5627 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.367, allocations: 285.2 kB / 0.563 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.3676, allocations: 0.5405 MB / 0.5635 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.3682, allocations: 0.6865 MB / 0.5642 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3684, allocations: 66.28 kB / 0.5643 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.3688, allocations: 202.6 kB / 0.5645 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.369, allocations: 237.9 kB / 0.5647 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.3694, allocations: 0.5901 MB / 0.5653 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3706, allocations: 1.441 MB / 0.5667 GB, free: 34.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3706, allocations: 5.625 kB / 0.5667 GB, free: 34.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3706, allocations: 2.906 kB / 0.5667 GB, free: 34.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3706, allocations: 0 / 0.5667 GB, free: 34.2 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007923/0.3785, allocations: 2.535 MB / 0.5692 GB, free: 33.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3786, allocations: 9.156 kB / 0.5692 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.3834, allocations: 0.7758 MB / 0.5699 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.3848, allocations: 0.7721 MB / 0.5707 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.3851, allocations: 259.3 kB / 0.5709 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3852, allocations: 74.66 kB / 0.571 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.388, allocations: 1.071 MB / 0.5721 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.388, allocations: 3.938 kB / 0.5721 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.3881, allocations: 34.91 kB / 0.5721 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3881, allocations: 17.59 kB / 0.5721 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.3905, allocations: 1.119 MB / 0.5732 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.005345/0.3958, allocations: 3.442 MB / 0.5766 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.3977, allocations: 1.408 MB / 0.5779 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3991, allocations: 0.7767 MB / 0.5787 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3993, allocations: 17.61 kB / 0.5787 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3993, allocations: 48.62 kB / 0.5788 GB, free: 30.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.3993, allocations: 0 / 0.5788 GB, free: 30.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02545/0.4248, allocations: 6.744 MB / 0.5853 GB, free: 29.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4248, allocations: 62.94 kB / 0.5854 GB, free: 29.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.4261, allocations: 0.8819 MB / 0.5863 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.4264, allocations: 45.36 kB / 0.5863 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.4267, allocations: 499.8 kB / 0.5868 GB, free: 28.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.427, allocations: 335.8 kB / 0.5871 GB, free: 27.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.4274, allocations: 195.2 kB / 0.5873 GB, free: 27.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.4274, allocations: 353.5 kB / 0.5876 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.429, allocations: 0.7147 MB / 0.5883 GB, free: 27.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.4306, allocations: 0.8364 MB / 0.5891 GB, free: 26.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/0.4496, allocations: 4.781 MB / 0.5938 GB, free: 25.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.4496, allocations: 2.203 kB / 0.5938 GB, free: 25.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01429/0.4639, allocations: 4.257 MB / 0.598 GB, free: 24.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.464, allocations: 10.19 kB / 0.598 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.464, allocations: 2.062 kB / 0.598 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/0.4703, allocations: 1.867 MB / 0.5998 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4714, allocations: 206 kB / 0.6 GB, free: 24.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.49, allocations: 8.357 MB / 0.6082 GB, free: 20.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4917, allocations: 181.5 kB / 0.6083 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4918, allocations: 39.45 kB / 0.6084 GB, free: 19.95 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004815/0.4923, allocations: 237.3 kB / 0.6086 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4925, allocations: 122.9 kB / 0.6087 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5045, allocations: 4.003 MB / 0.6126 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5046, allocations: 11.94 kB / 0.6126 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5046, allocations: 0 / 0.6126 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.5046, allocations: 11.97 kB / 0.6126 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.5177, allocations: 5.615 MB / 0.6181 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.5177, allocations: 0.9375 kB / 0.6181 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/0.5184, allocations: 129.3 kB / 0.6183 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005079/0.5235, allocations: 1.74 MB / 0.62 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.5236, allocations: 23.98 kB / 0.62 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.5385, allocations: 7.357 MB / 0.6272 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5386, allocations: 3.938 kB / 0.6272 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.5531, allocations: 4.962 MB / 0.632 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/0.5536, allocations: 203.5 kB / 0.6322 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5538, allocations: 16 kB / 0.6322 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5549, allocations: 103.9 kB / 0.6323 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007719/0.5556, allocations: 222.5 kB / 0.6325 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.5557, allocations: 20 kB / 0.6326 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.5565, allocations: 0.5965 MB / 0.6331 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5565, allocations: 0 / 0.6331 GB, free: 11.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001395/0.5579, allocations: 431.4 kB / 0.6335 GB, free: 11.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002783/0.5582, allocations: 127.8 kB / 0.6337 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006631/0.5648, allocations: 2.431 MB / 0.636 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5648, allocations: 1.594 kB / 0.636 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004603/0.5694, allocations: 1.551 MB / 0.6376 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5705, allocations: 91.89 kB / 0.6376 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.5746, allocations: 2.366 MB / 0.64 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.5752, allocations: 1.085 MB / 0.641 GB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.5756, allocations: 90.81 kB / 0.6411 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.5758, allocations: 63.36 kB / 0.6412 GB, free: 3.172 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5758, allocations: 0 / 0.6412 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Templates: time 0.02965/0.6055, allocations: 20.86 MB / 0.6615 GB, free: 14.53 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)