Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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/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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 182.4 kB / 15.98 MB, free: 5.77 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.406/1.406, allocations: 205.1 MB / 221.8 MB, free: 8.492 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.001015/0.001016, allocations: 104.1 kB / 269.2 MB, free: 8.438 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.07498/0.07498, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2945/0.2945, allocations: 78.52 MB / 457.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 111.2 kB / 0.5254 GB, free: 19.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 68.13 MB / 0.592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007456/0.1334, allocations: 6.865 MB / 0.5987 GB, free: 8.762 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.1375, allocations: 1.881 MB / 0.6005 GB, free: 6.875 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.1392, allocations: 15.94 kB / 0.6005 GB, free: 6.859 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1402, allocations: 174.9 kB / 0.6007 GB, free: 6.688 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.1431, allocations: 0.6443 MB / 0.6013 GB, free: 6.043 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1445, allocations: 0.5648 MB / 0.6019 GB, free: 5.484 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.1465, allocations: 1.378 MB / 0.6032 GB, free: 4.102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.147, allocations: 293.5 kB / 0.6035 GB, free: 3.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.1477, allocations: 0.5482 MB / 0.604 GB, free: 3.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.1485, allocations: 0.7037 MB / 0.6047 GB, free: 2.543 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1486, allocations: 68 kB / 0.6048 GB, free: 2.477 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.1492, allocations: 195.9 kB / 0.605 GB, free: 2.285 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.1494, allocations: 242.8 kB / 0.6052 GB, free: 2.047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.15, allocations: 0.59 MB / 0.6058 GB, free: 1.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1514, allocations: 1.459 MB / 0.6072 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1514, allocations: 0 / 0.6072 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1515, allocations: 0 / 0.6072 GB, free: 15.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.1515, allocations: 0 / 0.6072 GB, free: 15.99 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008114/0.1596, allocations: 2.567 MB / 0.6097 GB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.1597, allocations: 11.98 kB / 0.6097 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.1645, allocations: 0.7787 MB / 0.6105 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1658, allocations: 0.7725 MB / 0.6112 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.1661, allocations: 260.1 kB / 0.6115 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.1662, allocations: 76 kB / 0.6116 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.1685, allocations: 1.081 MB / 0.6126 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1686, allocations: 7.938 kB / 0.6126 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.1687, allocations: 32 kB / 0.6127 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1687, allocations: 16 kB / 0.6127 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.1713, allocations: 1.128 MB / 0.6138 GB, free: 9.109 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005782/0.1771, allocations: 3.471 MB / 0.6172 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.1793, allocations: 1.427 MB / 0.6186 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.1809, allocations: 0.7813 MB / 0.6193 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.181, allocations: 20.92 kB / 0.6193 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.181, allocations: 47.56 kB / 0.6194 GB, free: 3.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 2.224e-06/0.181, allocations: 0 / 0.6194 GB, free: 3.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=98): time 0.02615/0.2072, allocations: 6.606 MB / 0.6258 GB, free: 12.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2073, allocations: 68.41 kB / 0.6259 GB, free: 12.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2084, allocations: 0.8884 MB / 0.6268 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.2086, allocations: 41.7 kB / 0.6268 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.2089, allocations: 0.4928 MB / 0.6273 GB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.2093, allocations: 347 kB / 0.6276 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.2097, allocations: 206.8 kB / 0.6278 GB, free: 10.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2098, allocations: 349.9 kB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.2115, allocations: 0.7365 MB / 0.6289 GB, free: 9.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.2133, allocations: 0.858 MB / 0.6297 GB, free: 8.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/0.2323, allocations: 4.853 MB / 0.6345 GB, free: 3.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2324, allocations: 0 / 0.6345 GB, free: 3.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.2154/0.4477, allocations: 4.27 MB / 0.6386 GB, free: 49.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4478, allocations: 6.219 kB / 0.6386 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4478, allocations: 2.5 kB / 0.6386 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/0.4546, allocations: 1.73 MB / 0.6403 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4559, allocations: 232 kB / 0.6405 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.4768, allocations: 8.323 MB / 0.6487 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.4786, allocations: 184 kB / 0.6488 GB, free: 45.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4787, allocations: 40.44 kB / 0.6489 GB, free: 45.76 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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 (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.4792, allocations: 246.4 kB / 0.6491 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.4794, allocations: 123 kB / 0.6492 GB, free: 45.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.4934, allocations: 4.012 MB / 0.6532 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4934, allocations: 11.88 kB / 0.6532 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4934, allocations: 7.625 kB / 0.6532 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4934, allocations: 4.266 kB / 0.6532 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.5081, allocations: 5.607 MB / 0.6587 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.5081, allocations: 0 / 0.6587 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.5089, allocations: 131.1 kB / 0.6588 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005573/0.5145, allocations: 1.744 MB / 0.6605 GB, free: 41.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.5147, allocations: 19.95 kB / 0.6605 GB, free: 41.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/0.5294, allocations: 7.337 MB / 0.6677 GB, free: 37.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5294, allocations: 1.25 kB / 0.6677 GB, free: 37.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08005/0.6095, allocations: 32.51 MB / 0.6994 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.6097, allocations: 199.4 kB / 0.6996 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.6099, allocations: 24 kB / 0.6996 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/0.6109, allocations: 107.9 kB / 0.6997 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000636/0.6115, allocations: 212.6 kB / 0.6999 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.6116, allocations: 28.88 kB / 0.7 GB, free: 5.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005516/0.6121, allocations: 0.6008 MB / 0.7005 GB, free: 4.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6122, allocations: 0 / 0.7005 GB, free: 4.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001549/0.6137, allocations: 0.5963 MB / 0.7011 GB, free: 3.984 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002178/0.6139, allocations: 123.1 kB / 0.7012 GB, free: 3.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006083/0.62, allocations: 2.437 MB / 0.7036 GB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6201, allocations: 4.062 kB / 0.7036 GB, free: 1.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004431/0.6245, allocations: 1.558 MB / 0.7051 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.6253, allocations: 93.22 kB / 0.7052 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/0.6329, allocations: 3.798 MB / 0.7089 GB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.6336, allocations: 1.135 MB / 0.7101 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.634, allocations: 90.77 kB / 0.7101 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.6343, allocations: 71.41 kB / 0.7102 GB, free: 10.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6343, allocations: 1.75 kB / 0.7102 GB, free: 10.56 MB / 442.7 MB Notification: Performance of Templates: time 0.04274/0.677, allocations: 30.37 MB / 0.7399 GB, free: 12.22 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)