Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 178.1 kB / 16.12 MB, free: 5.668 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.653/1.653, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0008083/0.0008081, allocations: 88.78 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3128/0.3128, allocations: 42.29 MB / 361.2 MB, free: 49.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 12 kB / 429.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 57.57 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.4299, allocations: 91.36 MB / 0.5648 GB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4302, allocations: 83.95 kB / 0.5649 GB, free: 344 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05093/0.4812, allocations: 17.92 MB / 0.5824 GB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.273e-06/0.4812, allocations: 0 / 0.5824 GB, free: 14.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.4814, allocations: 19.94 kB / 0.5824 GB, free: 14.34 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00461/0.486, allocations: 1.51 MB / 0.5839 GB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.486, allocations: 8.031 kB / 0.5839 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.4888, allocations: 447.3 kB / 0.5843 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4901, allocations: 0.5747 MB / 0.5849 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.4904, allocations: 172.1 kB / 0.585 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.4905, allocations: 55.94 kB / 0.5851 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.4926, allocations: 0.8809 MB / 0.5859 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4927, allocations: 0 / 0.5859 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.4927, allocations: 24 kB / 0.586 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4928, allocations: 12 kB / 0.586 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.4948, allocations: 0.9421 MB / 0.5869 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.4991, allocations: 2.079 MB / 0.5889 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.5009, allocations: 0.7954 MB / 0.5897 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.5022, allocations: 0.6821 MB / 0.5904 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.5023, allocations: 16.58 kB / 0.5904 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5023, allocations: 43.22 kB / 0.5904 GB, free: 5.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 5.55e-06/0.5023, allocations: 3.984 kB / 0.5904 GB, free: 5.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.02205/0.5244, allocations: 6.519 MB / 0.5968 GB, free: 15.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5245, allocations: 57.56 kB / 0.5969 GB, free: 15.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.5254, allocations: 0.6138 MB / 0.5975 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5256, allocations: 37.7 kB / 0.5975 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.5259, allocations: 337.1 kB / 0.5978 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.5262, allocations: 256.2 kB / 0.5981 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.5263, allocations: 12 kB / 0.5981 GB, free: 14.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5264, allocations: 330 kB / 0.5984 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.5277, allocations: 0.5634 MB / 0.5989 GB, free: 13.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.529, allocations: 0.6178 MB / 0.5995 GB, free: 12.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.5412, allocations: 3.715 MB / 0.6032 GB, free: 8.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5412, allocations: 3.984 kB / 0.6032 GB, free: 8.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.01193/0.5532, allocations: 4.004 MB / 0.6071 GB, free: 4.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5532, allocations: 4 kB / 0.6071 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5532, allocations: 4 kB / 0.6071 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006161/0.5594, allocations: 1.804 MB / 0.6088 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.5601, allocations: 103.9 kB / 0.6089 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.5793, allocations: 8.612 MB / 0.6174 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5804, allocations: 143.4 kB / 0.6175 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.5806, allocations: 23.98 kB / 0.6175 GB, free: 9.938 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv fixed = true protected = true ) type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (43): * Single equations (assignments): 42 * 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 {19 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.5811, allocations: 211.1 kB / 0.6177 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.5813, allocations: 82.97 kB / 0.6178 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5929, allocations: 4.069 MB / 0.6218 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.593, allocations: 4 kB / 0.6218 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.593, allocations: 7.938 kB / 0.6218 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.593, allocations: 11.92 kB / 0.6218 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.5944, allocations: 0.9548 MB / 0.6227 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5945, allocations: 0 / 0.6227 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.595, allocations: 91.88 kB / 0.6228 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005827/0.6009, allocations: 1.777 MB / 0.6245 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.6011, allocations: 12 kB / 0.6246 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.6173, allocations: 7.398 MB / 0.6318 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6173, allocations: 0 / 0.6318 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.6307, allocations: 4.904 MB / 0.6366 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.6311, allocations: 175.9 kB / 0.6367 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.6313, allocations: 8 kB / 0.6367 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.6322, allocations: 119.9 kB / 0.6369 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/0.6327, allocations: 168.1 kB / 0.637 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.6328, allocations: 20 kB / 0.637 GB, free: 5.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006499/0.6335, allocations: 435 kB / 0.6375 GB, free: 5.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6335, allocations: 0 / 0.6375 GB, free: 5.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6346, allocations: 347.6 kB / 0.6378 GB, free: 4.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (40): * Single equations (assignments): 39 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.6349, allocations: 135.9 kB / 0.6379 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005612/0.6405, allocations: 2.092 MB / 0.64 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6405, allocations: 0 / 0.64 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003992/0.6445, allocations: 1.471 MB / 0.6414 GB, free: 1.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.6453, allocations: 78.86 kB / 0.6415 GB, free: 1.105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.6492, allocations: 1.867 MB / 0.6433 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.6498, allocations: 0.9695 MB / 0.6442 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.6502, allocations: 64.53 kB / 0.6443 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.6503, allocations: 35.42 kB / 0.6443 GB, free: 14.12 MB / 474.7 MB Notification: Performance of SimCode: time 2.475e-06/0.6503, allocations: 0 / 0.6443 GB, free: 14.12 MB / 474.7 MB Notification: Performance of Templates: time 0.03096/0.6813, allocations: 17.48 MB / 0.6614 GB, free: 12.66 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe 2>&1)