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.008564/0.008564, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.438/1.438, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001397/0.001397, allocations: 200.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4493/0.4493, allocations: 78.52 MB / 418.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 84.09 kB / 0.5536 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3154, allocations: 68.16 MB / 0.6202 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004969/0.3204, allocations: 6.381 MB / 0.6264 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.3236, allocations: 1.849 MB / 0.6282 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.3242, allocations: 12 kB / 0.6282 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.3247, allocations: 218 kB / 0.6285 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3263, allocations: 0.7202 MB / 0.6292 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3275, allocations: 0.6087 MB / 0.6297 GB, free: 396 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.329, allocations: 1.398 MB / 0.6311 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.3295, allocations: 320.3 kB / 0.6314 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.3303, allocations: 0.5834 MB / 0.632 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000896/0.3312, allocations: 0.7232 MB / 0.6327 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3314, allocations: 104 kB / 0.6328 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.3319, allocations: 243.8 kB / 0.633 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3321, allocations: 270.8 kB / 0.6333 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.3326, allocations: 0.6174 MB / 0.6339 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3343, allocations: 1.51 MB / 0.6354 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3343, allocations: 0 / 0.6354 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3343, allocations: 0 / 0.6354 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3344, allocations: 0 / 0.6354 GB, free: 10.62 MB / 446.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.007676/0.342, allocations: 2.59 MB / 0.6379 GB, free: 7.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3421, allocations: 15.97 kB / 0.6379 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/0.3469, allocations: 0.7757 MB / 0.6387 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.3481, allocations: 0.781 MB / 0.6394 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.3484, allocations: 256.2 kB / 0.6397 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3486, allocations: 76 kB / 0.6397 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.3509, allocations: 1.069 MB / 0.6408 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.351, allocations: 7.938 kB / 0.6408 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.3511, allocations: 32 kB / 0.6408 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.3511, allocations: 23.92 kB / 0.6409 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.3536, allocations: 1.12 MB / 0.6419 GB, free: 3.715 MB / 446.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.005834/0.3594, allocations: 3.425 MB / 0.6453 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.3616, allocations: 1.407 MB / 0.6467 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.3632, allocations: 0.785 MB / 0.6474 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3634, allocations: 20.98 kB / 0.6474 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3634, allocations: 43.56 kB / 0.6475 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.3634, allocations: 0 / 0.6475 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02536/0.3888, allocations: 6.751 MB / 0.6541 GB, free: 6.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3889, allocations: 64.41 kB / 0.6541 GB, free: 6.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3901, allocations: 0.8838 MB / 0.655 GB, free: 5.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.3902, allocations: 41.7 kB / 0.655 GB, free: 5.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.3906, allocations: 0.4935 MB / 0.6555 GB, free: 5.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.391, allocations: 360.9 kB / 0.6559 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.3914, allocations: 190.9 kB / 0.6561 GB, free: 4.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3915, allocations: 349.9 kB / 0.6564 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.3932, allocations: 0.7092 MB / 0.6571 GB, free: 3.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.395, allocations: 0.8384 MB / 0.6579 GB, free: 2.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01818/0.4132, allocations: 4.791 MB / 0.6626 GB, free: 14.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4132, allocations: 4 kB / 0.6626 GB, free: 14.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01382/0.4271, allocations: 4.262 MB / 0.6667 GB, free: 9.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4271, allocations: 8 kB / 0.6668 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4272, allocations: 0 / 0.6668 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006321/0.4335, allocations: 1.858 MB / 0.6686 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4346, allocations: 211.7 kB / 0.6688 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.4559, allocations: 9.091 MB / 0.6776 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4574, allocations: 183.2 kB / 0.6778 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4575, allocations: 39.98 kB / 0.6779 GB, free: 14.32 MB / 494.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.0004513/0.458, allocations: 247.1 kB / 0.6781 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.4582, allocations: 123.2 kB / 0.6782 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.474, allocations: 4.002 MB / 0.6821 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.4741, allocations: 8 kB / 0.6821 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.4741, allocations: 3.938 kB / 0.6821 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/0.4741, allocations: 3.984 kB / 0.6821 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/0.4999, allocations: 5.618 MB / 0.6876 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.5, allocations: 0 / 0.6876 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.5013, allocations: 127.8 kB / 0.6877 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/0.5126, allocations: 1.745 MB / 0.6894 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.5129, allocations: 16 kB / 0.6895 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03634/0.5493, allocations: 8.089 MB / 0.6974 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5493, allocations: 3.938 kB / 0.6974 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02324/0.5726, allocations: 4.972 MB / 0.7022 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.5731, allocations: 204.1 kB / 0.7024 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/0.5735, allocations: 20 kB / 0.7024 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.5747, allocations: 115.9 kB / 0.7025 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/0.5756, allocations: 208.7 kB / 0.7027 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.5758, allocations: 31.92 kB / 0.7028 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000893/0.5767, allocations: 0.5887 MB / 0.7034 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5767, allocations: 0 / 0.7034 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001578/0.5783, allocations: 439.6 kB / 0.7038 GB, free: 3.418 MB / 0.4981 GB 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.000327/0.5786, allocations: 131.1 kB / 0.7039 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007026/0.5856, allocations: 2.48 MB / 0.7063 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5857, allocations: 0 / 0.7063 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/0.5905, allocations: 1.597 MB / 0.7079 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5916, allocations: 84.41 kB / 0.708 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.5957, allocations: 1.979 MB / 0.7099 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.5964, allocations: 1.084 MB / 0.711 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.5968, allocations: 86.67 kB / 0.711 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.597, allocations: 67.42 kB / 0.7111 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.5971, allocations: 0 / 0.7111 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.03807/0.6351, allocations: 23.6 MB / 0.7341 GB, free: 4.227 MB / 0.5294 GB 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)