Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006621/0.0006621, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009249/0.001587, allocations: 435.8 kB / 10.31 MB, free: 380 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9605/0.9605, allocations: 158.6 MB / 169.7 MB, free: 2.777 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1671/1.128, allocations: 49.48 MB / 219.1 MB, free: 5.555 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 155.4 kB / 220 MB, free: 4.672 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002281, allocations: 481.5 kB / 220.5 MB, free: 4.203 MB / 218.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo): time 0.1144/0.1144, allocations: 32.51 MB / 253.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04481/0.1592, allocations: 10.85 MB / 264.6 MB, free: 8.039 MB / 266.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 265.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.362e-05, allocations: 6.25 kB / 265.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation): time 0.005938/0.005952, allocations: 6.049 MB / 271.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.00913, allocations: 1.868 MB / 273.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.009487, allocations: 8 kB / 273.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.009848, allocations: 237.9 kB / 274.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01115, allocations: 0.7798 MB / 274.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.01221, allocations: 0.6041 MB / 275.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.01338, allocations: 1.428 MB / 276.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.01369, allocations: 230.7 kB / 277.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000971/0.01466, allocations: 0.9899 MB / 278.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.01523, allocations: 0.5724 MB / 278.7 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.01536, allocations: 104 kB / 278.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.01572, allocations: 243.7 kB / 279 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.01588, allocations: 191.2 kB / 279.2 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.01617, allocations: 319.2 kB / 279.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.01715, allocations: 1.027 MB / 280.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.01717, allocations: 0 / 280.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01717, allocations: 0 / 280.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.01719, allocations: 0 / 280.5 MB, free: 8.008 MB / 282.7 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.00505/0.02224, allocations: 2.822 MB / 283.3 MB, free: 5.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.02226, allocations: 8.031 kB / 283.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.02587, allocations: 0.9753 MB / 284.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.02663, allocations: 0.5332 MB / 284.9 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.02684, allocations: 311.5 kB / 285.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.02695, allocations: 80 kB / 285.2 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.02777, allocations: 0.6168 MB / 285.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.02779, allocations: 0 / 285.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.02785, allocations: 28 kB / 285.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.02786, allocations: 23.94 kB / 285.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.02842, allocations: 297.8 kB / 286.2 MB, free: 2.18 MB / 282.7 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.003216/0.03163, allocations: 1.594 MB / 287.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.03219, allocations: 391.8 kB / 288.2 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.03252, allocations: 232.3 kB / 288.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.03259, allocations: 17 kB / 288.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.03262, allocations: 43.56 kB / 288.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.254e-06/0.03262, allocations: 0 / 288.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=96): time 0.01091/0.04353, allocations: 4.19 MB / 292.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.04356, allocations: 64.41 kB / 292.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.04414, allocations: 0.7519 MB / 293.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.0442, allocations: 45.7 kB / 293.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.04438, allocations: 351.2 kB / 293.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/0.04486, allocations: 360.8 kB / 294.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.04513, allocations: 194.8 kB / 294.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.04523, allocations: 353.8 kB / 294.7 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.04569, allocations: 238.6 kB / 295 MB, free: 9.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.04622, allocations: 386.8 kB / 295.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.04777, allocations: 1.038 MB / 296.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.04777, allocations: 0 / 296.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005595/0.05337, allocations: 2.506 MB / 298.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.05339, allocations: 15.84 kB / 298.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.0534, allocations: 0 / 298.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/0.05833, allocations: 1.807 MB / 300.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.05907, allocations: 219.7 kB / 300.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.06542, allocations: 3.658 MB / 304.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.06601, allocations: 163.2 kB / 304.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.06605, allocations: 27.98 kB / 304.8 MB, free: 15.31 MB / 314.7 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 (104): * Single equations (assignments): 103 * 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.0002291/0.06628, allocations: 165.6 kB / 304.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.06641, allocations: 99.89 kB / 305 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.07026, allocations: 2.326 MB / 307.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.07027, allocations: 12 kB / 307.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.07027, allocations: 4 kB / 307.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.07028, allocations: 3.984 kB / 307.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.07508, allocations: 2.843 MB / 310.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.07509, allocations: 3.984 kB / 310.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.07539, allocations: 131.9 kB / 310.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.0755, allocations: 115 kB / 310.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/0.07931, allocations: 1.764 MB / 312.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.07936, allocations: 27.92 kB / 312.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.08402, allocations: 3.398 MB / 315.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.08402, allocations: 0 / 315.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.08805, allocations: 2.555 MB / 318.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.08813, allocations: 16 kB / 318.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.0885, allocations: 83.91 kB / 318.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.08884, allocations: 212.6 kB / 318.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.08887, allocations: 16 kB / 318.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.08914, allocations: 396.6 kB / 318.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08914, allocations: 0 / 318.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007754/0.08992, allocations: 435.6 kB / 319.3 MB, free: 0.543 MB / 314.7 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.0001838/0.0901, allocations: 116.2 kB / 319.5 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.09211, allocations: 1.403 MB / 320.9 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.09212, allocations: 8 kB / 320.9 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.0935, allocations: 1.013 MB / 321.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.09388, allocations: 188.1 kB / 322.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009352/0.1032, allocations: 1.871 MB / 323.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1034, allocations: 224.8 kB / 324.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1036, allocations: 82.7 kB / 324.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.1038, allocations: 147.4 kB / 324.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1038, allocations: 0 / 324.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.1358/0.2397, allocations: 24.96 MB / 349.4 MB, free: 55.97 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4098562812432647]