Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_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.001652/0.001652, allocations: 174.3 kB / 16.12 MB, free: 5.566 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.413/1.413, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007661/0.0007661, allocations: 89.42 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3074/0.3074, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 20 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4464, allocations: 91.37 MB / 0.5648 GB, free: 416 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4466, allocations: 82.23 kB / 0.5649 GB, free: 336 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04955/0.4962, allocations: 17.92 MB / 0.5824 GB, free: 14.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4962, allocations: 4 kB / 0.5824 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.823e-05/0.4963, allocations: 15.94 kB / 0.5824 GB, free: 14.33 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.004455/0.5007, allocations: 1.514 MB / 0.5839 GB, free: 12.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5008, allocations: 8.031 kB / 0.5839 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.5036, allocations: 447.3 kB / 0.5843 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5048, allocations: 0.5747 MB / 0.5849 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.5051, allocations: 176.1 kB / 0.585 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.5053, allocations: 55.94 kB / 0.5851 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.5073, allocations: 0.8848 MB / 0.586 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5073, allocations: 0 / 0.586 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.5074, allocations: 20 kB / 0.586 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5074, allocations: 12 kB / 0.586 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.5094, allocations: 0.939 MB / 0.5869 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.5137, allocations: 2.086 MB / 0.5889 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.5154, allocations: 0.7948 MB / 0.5897 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.5167, allocations: 0.686 MB / 0.5904 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-05/0.5168, allocations: 8.656 kB / 0.5904 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5169, allocations: 43.22 kB / 0.5904 GB, free: 5.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 2.845e-06/0.5169, allocations: 0 / 0.5904 GB, free: 5.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.02271/0.5396, allocations: 6.52 MB / 0.5968 GB, free: 15.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5397, allocations: 64.05 kB / 0.5969 GB, free: 15.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.5406, allocations: 0.606 MB / 0.5975 GB, free: 14.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.5408, allocations: 37.7 kB / 0.5975 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.5411, allocations: 337.1 kB / 0.5978 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.5414, allocations: 264.2 kB / 0.5981 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.5415, allocations: 8 kB / 0.5981 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5416, allocations: 338 kB / 0.5984 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5429, allocations: 0.5596 MB / 0.5989 GB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5442, allocations: 0.61 MB / 0.5995 GB, free: 12.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.5559, allocations: 3.715 MB / 0.6032 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.5559, allocations: 0 / 0.6032 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.01158/0.5675, allocations: 4.004 MB / 0.6071 GB, free: 4.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.5676, allocations: 10.72 kB / 0.6071 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5676, allocations: 0 / 0.6071 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/0.5734, allocations: 1.804 MB / 0.6088 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.574, allocations: 111.8 kB / 0.609 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/0.5936, allocations: 8.601 MB / 0.6174 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.5948, allocations: 151.4 kB / 0.6175 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.5949, allocations: 24 kB / 0.6175 GB, free: 9.926 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.0006159/0.5956, allocations: 218.8 kB / 0.6177 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.5958, allocations: 78.97 kB / 0.6178 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.6076, allocations: 4.069 MB / 0.6218 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.6077, allocations: 8 kB / 0.6218 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6077, allocations: 3.938 kB / 0.6218 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6077, allocations: 7.922 kB / 0.6218 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.6092, allocations: 0.9548 MB / 0.6227 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6092, allocations: 0 / 0.6227 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.6099, allocations: 95.88 kB / 0.6228 GB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/0.6163, allocations: 1.769 MB / 0.6245 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.6164, allocations: 16 kB / 0.6246 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/0.6317, allocations: 7.386 MB / 0.6318 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6317, allocations: 0 / 0.6318 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.6447, allocations: 4.908 MB / 0.6366 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.645, allocations: 179.9 kB / 0.6367 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6451, allocations: 16 kB / 0.6368 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.646, allocations: 111.9 kB / 0.6369 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/0.6465, allocations: 164.5 kB / 0.637 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.6466, allocations: 27.98 kB / 0.637 GB, free: 5.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005804/0.6472, allocations: 439 kB / 0.6375 GB, free: 5.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6472, allocations: 4 kB / 0.6375 GB, free: 5.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001274/0.6485, allocations: 335.6 kB / 0.6378 GB, free: 4.902 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.0003478/0.6488, allocations: 136.4 kB / 0.6379 GB, free: 4.762 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005231/0.6541, allocations: 2.096 MB / 0.64 GB, free: 2.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6541, allocations: 0 / 0.64 GB, free: 2.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.6578, allocations: 1.475 MB / 0.6414 GB, free: 1.164 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.6585, allocations: 77.36 kB / 0.6415 GB, free: 1.094 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.6622, allocations: 1.864 MB / 0.6433 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.6628, allocations: 0.9772 MB / 0.6443 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.6631, allocations: 64.53 kB / 0.6443 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.6633, allocations: 35.44 kB / 0.6443 GB, free: 14.11 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6633, allocations: 0 / 0.6443 GB, free: 14.11 MB / 474.7 MB Notification: Performance of Templates: time 0.02686/0.6901, allocations: 17.47 MB / 0.6614 GB, free: 12.66 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe 2>&1)