Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 172.6 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.3 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007743/0.0007743, allocations: 87.86 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2932/0.2932, allocations: 42.29 MB / 361.2 MB, free: 49.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004644, allocations: 12 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4662, allocations: 91.08 MB / 0.5645 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4665, allocations: 85.98 kB / 0.5646 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04821/0.5148, allocations: 17.68 MB / 0.5819 GB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5148, allocations: 0 / 0.5819 GB, free: 14.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.946e-05/0.5149, allocations: 24 kB / 0.5819 GB, free: 14.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004072/0.5189, allocations: 1.487 MB / 0.5833 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.519, allocations: 8.031 kB / 0.5833 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/0.5217, allocations: 443.4 kB / 0.5838 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5228, allocations: 0.5669 MB / 0.5843 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.523, allocations: 172.1 kB / 0.5845 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5232, allocations: 59.94 kB / 0.5845 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.525, allocations: 0.8731 MB / 0.5854 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.525, allocations: 3.984 kB / 0.5854 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.5251, allocations: 20 kB / 0.5854 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5251, allocations: 12 kB / 0.5854 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.5272, allocations: 0.9265 MB / 0.5863 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.5312, allocations: 2.055 MB / 0.5883 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.5327, allocations: 0.7515 MB / 0.5891 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5339, allocations: 0.6821 MB / 0.5897 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.17e-05/0.534, allocations: 8.656 kB / 0.5897 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5341, allocations: 43.22 kB / 0.5898 GB, free: 6.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 4.889e-06/0.5341, allocations: 0 / 0.5898 GB, free: 6.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.02124/0.5553, allocations: 6.445 MB / 0.5961 GB, free: 88 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5554, allocations: 56.06 kB / 0.5961 GB, free: 20 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009596/0.5564, allocations: 0.6137 MB / 0.5967 GB, free: 15.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.5566, allocations: 33.7 kB / 0.5968 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.5568, allocations: 337.1 kB / 0.5971 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.5572, allocations: 248.3 kB / 0.5973 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.5573, allocations: 16 kB / 0.5973 GB, free: 14.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5575, allocations: 326 kB / 0.5976 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.5588, allocations: 0.5518 MB / 0.5982 GB, free: 13.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5601, allocations: 0.61 MB / 0.5988 GB, free: 13.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.5716, allocations: 3.648 MB / 0.6023 GB, free: 9.609 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5717, allocations: 0 / 0.6023 GB, free: 9.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.01144/0.5832, allocations: 3.954 MB / 0.6062 GB, free: 5.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5832, allocations: 11.98 kB / 0.6062 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5832, allocations: 0 / 0.6062 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005896/0.5891, allocations: 1.814 MB / 0.608 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.5899, allocations: 99.88 kB / 0.6081 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.6087, allocations: 8.534 MB / 0.6164 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.6098, allocations: 143.4 kB / 0.6166 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.6099, allocations: 23.98 kB / 0.6166 GB, free: 10.9 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real frequencyDependent.x:VARIABLE(start = 0.0 fixed = true protected = true ) "auxiliary variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 16} Notification: Performance of prepare postOptimizeDAE: time 0.000537/0.6105, allocations: 201.7 kB / 0.6168 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.6107, allocations: 79.06 kB / 0.6168 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.6222, allocations: 4.033 MB / 0.6208 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.6222, allocations: 8 kB / 0.6208 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6222, allocations: 0 / 0.6208 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.993e-05/0.6223, allocations: 7.984 kB / 0.6208 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.624, allocations: 0.9508 MB / 0.6217 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.624, allocations: 0 / 0.6217 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.6246, allocations: 91.89 kB / 0.6218 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/0.6304, allocations: 1.761 MB / 0.6235 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.6307, allocations: 11.98 kB / 0.6235 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.6471, allocations: 7.317 MB / 0.6307 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6472, allocations: 7.938 kB / 0.6307 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.6603, allocations: 4.857 MB / 0.6354 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.6607, allocations: 171.9 kB / 0.6356 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.6609, allocations: 12 kB / 0.6356 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/0.6619, allocations: 115.9 kB / 0.6357 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006103/0.6625, allocations: 168.3 kB / 0.6359 GB, free: 6.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.6626, allocations: 20 kB / 0.6359 GB, free: 6.828 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006111/0.6632, allocations: 435 kB / 0.6363 GB, free: 6.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6632, allocations: 0 / 0.6363 GB, free: 6.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001331/0.6646, allocations: 331.6 kB / 0.6366 GB, free: 6.086 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,frequencyDependent.x) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.6648, allocations: 139.2 kB / 0.6368 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.6702, allocations: 2.089 MB / 0.6388 GB, free: 3.844 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6702, allocations: 4.062 kB / 0.6388 GB, free: 3.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003846/0.674, allocations: 1.455 MB / 0.6402 GB, free: 2.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.6749, allocations: 67.7 kB / 0.6403 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.6786, allocations: 1.841 MB / 0.6421 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.6792, allocations: 0.9694 MB / 0.643 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.6795, allocations: 68.52 kB / 0.6431 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.6797, allocations: 31.44 kB / 0.6431 GB, free: 15.36 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6797, allocations: 0 / 0.6431 GB, free: 15.36 MB / 474.7 MB Notification: Performance of Templates: time 0.02955/0.7092, allocations: 17.74 MB / 0.6605 GB, free: 13.64 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)