Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.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.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 176.6 kB / 16.12 MB, free: 5.691 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.458/1.458, allocations: 205.4 MB / 222.3 MB, free: 9.043 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.0007742/0.0007742, allocations: 89.05 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.3026/0.3026, allocations: 42.29 MB / 361.2 MB, free: 49.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 23.97 kB / 429.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.4001, allocations: 93.49 MB / 0.5669 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4004, allocations: 89.45 kB / 0.567 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06714/0.4676, allocations: 24.89 MB / 0.5913 GB, free: 5.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4676, allocations: 4 kB / 0.5913 GB, free: 5.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.974e-05/0.4677, allocations: 20 kB / 0.5913 GB, free: 5.152 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005969/0.4737, allocations: 1.981 MB / 0.5932 GB, free: 3.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4737, allocations: 8.031 kB / 0.5932 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.4772, allocations: 0.5642 MB / 0.5938 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.4789, allocations: 0.7832 MB / 0.5945 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.4793, allocations: 264.2 kB / 0.5948 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.4796, allocations: 84 kB / 0.5949 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.4822, allocations: 1.155 MB / 0.596 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.4823, allocations: 0 / 0.596 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.4824, allocations: 32 kB / 0.596 GB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4824, allocations: 20 kB / 0.5961 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.4852, allocations: 1.238 MB / 0.5973 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/0.492, allocations: 3.569 MB / 0.6007 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.4944, allocations: 1.509 MB / 0.6022 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.4961, allocations: 0.871 MB / 0.6031 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.952e-05/0.4962, allocations: 20.97 kB / 0.6031 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4962, allocations: 39.56 kB / 0.6031 GB, free: 8.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.936e-06/0.4962, allocations: 0 / 0.6031 GB, free: 8.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02759/0.5238, allocations: 8.496 MB / 0.6114 GB, free: 60 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.5239, allocations: 64.41 kB / 0.6115 GB, free: 15.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.5254, allocations: 0.8729 MB / 0.6123 GB, free: 15.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5255, allocations: 37.7 kB / 0.6124 GB, free: 15.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5259, allocations: 0.5088 MB / 0.6129 GB, free: 14.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.5263, allocations: 343 kB / 0.6132 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.5264, allocations: 19.94 kB / 0.6132 GB, free: 14.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5266, allocations: 337.9 kB / 0.6135 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.5282, allocations: 0.7164 MB / 0.6142 GB, free: 13.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5299, allocations: 0.8273 MB / 0.615 GB, free: 12.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/0.5443, allocations: 4.619 MB / 0.6196 GB, free: 7.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.5444, allocations: 1.5 kB / 0.6196 GB, free: 7.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01466/0.559, allocations: 4.915 MB / 0.6244 GB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5591, allocations: 8 kB / 0.6244 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5591, allocations: 4 kB / 0.6244 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006536/0.5657, allocations: 2.109 MB / 0.6264 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.5666, allocations: 175.8 kB / 0.6266 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.588, allocations: 9.53 MB / 0.6359 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.5895, allocations: 211.1 kB / 0.6361 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.5897, allocations: 24 kB / 0.6361 GB, free: 6.492 MB / 458.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 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: 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 (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006941/0.5905, allocations: 242.3 kB / 0.6364 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.5908, allocations: 118.5 kB / 0.6365 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.6047, allocations: 4.967 MB / 0.6413 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.6048, allocations: 8 kB / 0.6413 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6048, allocations: 4 kB / 0.6413 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.6048, allocations: 3.984 kB / 0.6413 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.6211, allocations: 6.585 MB / 0.6478 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.6211, allocations: 0 / 0.6478 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.6219, allocations: 143.9 kB / 0.6479 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006153/0.6281, allocations: 2.058 MB / 0.6499 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.6283, allocations: 19.98 kB / 0.6499 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.6469, allocations: 8.206 MB / 0.658 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.647, allocations: 0 / 0.658 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.6636, allocations: 6.017 MB / 0.6638 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.6641, allocations: 207.3 kB / 0.664 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.6645, allocations: 16 kB / 0.664 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6659, allocations: 155.9 kB / 0.6642 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008647/0.6668, allocations: 224.5 kB / 0.6644 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.667, allocations: 20 kB / 0.6644 GB, free: 9.164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.6681, allocations: 0.5969 MB / 0.665 GB, free: 8.559 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6681, allocations: 0 / 0.665 GB, free: 8.559 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001845/0.6699, allocations: 427.5 kB / 0.6654 GB, free: 8.141 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/0.6703, allocations: 147.2 kB / 0.6656 GB, free: 7.988 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007005/0.6773, allocations: 2.588 MB / 0.6681 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6774, allocations: 0 / 0.6681 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00515/0.6825, allocations: 1.792 MB / 0.6698 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6839, allocations: 98.09 kB / 0.6699 GB, free: 3.492 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6885, allocations: 2.363 MB / 0.6722 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1869/0.8754, allocations: 1.091 MB / 0.6733 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005796/0.8761, allocations: 69.2 kB / 0.6734 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.8763, allocations: 52.45 kB / 0.6734 GB, free: 128.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.372e-05/0.8764, allocations: 1.688 kB / 0.6734 GB, free: 128.1 MB / 490.7 MB Notification: Performance of Templates: time 0.03418/0.9106, allocations: 19.69 MB / 0.6926 GB, free: 127.5 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)