Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 174.9 kB / 12.73 MB, free: 2.59 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.29/1.29, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008073/0.0008073, allocations: 78.66 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06641/0.06641, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2854/0.2854, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.774e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09763, allocations: 69.34 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4479, allocations: 98.52 MB / 0.6857 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.4481, allocations: 79.17 kB / 0.6858 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06073/0.5089, allocations: 22.53 MB / 0.7078 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5089, allocations: 0 / 0.7078 GB, free: 13.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.509, allocations: 20 kB / 0.7078 GB, free: 13.86 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004344/0.5133, allocations: 1.593 MB / 0.7093 GB, free: 12.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5134, allocations: 15.98 kB / 0.7094 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.5167, allocations: 0.5387 MB / 0.7099 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.518, allocations: 0.6791 MB / 0.7106 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.5183, allocations: 257.7 kB / 0.7108 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5184, allocations: 65.62 kB / 0.7109 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5198, allocations: 0.7847 MB / 0.7116 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5198, allocations: 0 / 0.7116 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.5199, allocations: 22.5 kB / 0.7116 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5199, allocations: 16 kB / 0.7117 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5212, allocations: 0.7874 MB / 0.7124 GB, free: 9.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.5264, allocations: 3.229 MB / 0.7156 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.5278, allocations: 1.123 MB / 0.7167 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.5286, allocations: 0.545 MB / 0.7172 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.5287, allocations: 20.75 kB / 0.7172 GB, free: 6.125 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.5287, allocations: 46.53 kB / 0.7173 GB, free: 6.078 MB / 458.7 MB Notification: Performance of pre-optimization done (n=82): time 2.465e-06/0.5287, allocations: 0 / 0.7173 GB, free: 6.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.01262/0.5413, allocations: 3.969 MB / 0.7212 GB, free: 2.629 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5414, allocations: 64.19 kB / 0.7212 GB, free: 2.555 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.5422, allocations: 0.6617 MB / 0.7219 GB, free: 2.027 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.5423, allocations: 35.95 kB / 0.7219 GB, free: 1.996 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5425, allocations: 448.1 kB / 0.7223 GB, free: 1.742 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.5428, allocations: 288.7 kB / 0.7226 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.5429, allocations: 20 kB / 0.7226 GB, free: 1.484 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.543, allocations: 330.7 kB / 0.7229 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.5436, allocations: 411.5 kB / 0.7233 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.5444, allocations: 0.4914 MB / 0.7238 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.5451, allocations: 444.3 kB / 0.7242 GB, free: 392 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5451, allocations: 3.938 kB / 0.7242 GB, free: 388 kB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01249/0.5576, allocations: 4.055 MB / 0.7282 GB, free: 12.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5576, allocations: 8 kB / 0.7282 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.5576, allocations: 0 / 0.7282 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005793/0.5634, allocations: 1.742 MB / 0.7299 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.5641, allocations: 127.8 kB / 0.73 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.5785, allocations: 7.26 MB / 0.7371 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.5798, allocations: 173.5 kB / 0.7373 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.5799, allocations: 30.98 kB / 0.7373 GB, free: 6.023 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0002212/0.5802, allocations: 148 kB / 0.7374 GB, free: 5.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5804, allocations: 102.8 kB / 0.7375 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.5929, allocations: 4.085 MB / 0.7415 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5929, allocations: 8 kB / 0.7415 GB, free: 1.965 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.593, allocations: 3.984 kB / 0.7415 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.593, allocations: 7.938 kB / 0.7416 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.6073, allocations: 5.566 MB / 0.747 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6073, allocations: 0 / 0.747 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.6079, allocations: 103.8 kB / 0.7471 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005456/0.6133, allocations: 1.691 MB / 0.7487 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.781e-05/0.6134, allocations: 12 kB / 0.7488 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.6264, allocations: 6.329 MB / 0.7549 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6264, allocations: 11.88 kB / 0.7549 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.64, allocations: 4.764 MB / 0.7596 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.6403, allocations: 187.7 kB / 0.7598 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.6405, allocations: 15.98 kB / 0.7598 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.6415, allocations: 127.9 kB / 0.7599 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/0.642, allocations: 204.3 kB / 0.7601 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.6421, allocations: 20 kB / 0.7601 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000666/0.6428, allocations: 0.5267 MB / 0.7606 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6428, allocations: 0 / 0.7606 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001103/0.6439, allocations: 395.5 kB / 0.761 GB, free: 13.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0002634/0.6442, allocations: 143.1 kB / 0.7612 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005069/0.6493, allocations: 1.914 MB / 0.763 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6493, allocations: 4 kB / 0.763 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/0.6534, allocations: 1.434 MB / 0.7644 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.6539, allocations: 75.33 kB / 0.7645 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.6561, allocations: 1.237 MB / 0.7657 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.6566, allocations: 1.052 MB / 0.7667 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002685/0.6569, allocations: 61.14 kB / 0.7668 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.6571, allocations: 47.44 kB / 0.7668 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.6571, allocations: 0 / 0.7668 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.02678/0.6839, allocations: 18.65 MB / 0.785 GB, free: 4.984 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)