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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08797/0.08797, allocations: 12.59 MB / 28.22 MB, free: 0.7539 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 111.4 kB / 31.83 MB, free: 3.887 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4438/0.4438, allocations: 78.5 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 143.2 kB / 0.5559 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1281, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.00648/0.1347, allocations: 5.796 MB / 0.628 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.1384, allocations: 1.709 MB / 0.6297 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1394, allocations: 8 kB / 0.6297 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.1402, allocations: 206.2 kB / 0.6299 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.1427, allocations: 0.7347 MB / 0.6306 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1444, allocations: 0.5596 MB / 0.6312 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.1473, allocations: 1.249 MB / 0.6324 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.1481, allocations: 271.1 kB / 0.6327 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.1496, allocations: 0.5212 MB / 0.6332 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.1511, allocations: 0.6455 MB / 0.6338 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.1514, allocations: 88 kB / 0.6339 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007767/0.1522, allocations: 215.9 kB / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.1526, allocations: 250.9 kB / 0.6343 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.1536, allocations: 0.5437 MB / 0.6349 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.1564, allocations: 1.358 MB / 0.6362 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1565, allocations: 0 / 0.6362 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1565, allocations: 3.984 kB / 0.6362 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.504e-05/0.1566, allocations: 0 / 0.6362 GB, free: 1.227 MB / 446.1 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.01176/0.1683, allocations: 2.345 MB / 0.6385 GB, free: 14.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.1684, allocations: 11.98 kB / 0.6385 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008845/0.1772, allocations: 0.7596 MB / 0.6392 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.1792, allocations: 0.7205 MB / 0.6399 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.1796, allocations: 244.2 kB / 0.6402 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.1798, allocations: 68 kB / 0.6402 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.1831, allocations: 0.956 MB / 0.6412 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.1832, allocations: 7.938 kB / 0.6412 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.1833, allocations: 24 kB / 0.6412 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1834, allocations: 19.94 kB / 0.6412 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.1869, allocations: 0.9759 MB / 0.6422 GB, free: 10.96 MB / 462.1 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.008466/0.1954, allocations: 3.154 MB / 0.6453 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.1987, allocations: 1.308 MB / 0.6465 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.2011, allocations: 0.7038 MB / 0.6472 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.2012, allocations: 16.64 kB / 0.6472 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.2013, allocations: 43.22 kB / 0.6473 GB, free: 5.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/0.2013, allocations: 0 / 0.6473 GB, free: 5.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.04254/0.2439, allocations: 6.763 MB / 0.6539 GB, free: 14.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.244, allocations: 60.06 kB / 0.6539 GB, free: 14.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.2457, allocations: 0.8024 MB / 0.6547 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.246, allocations: 37.7 kB / 0.6548 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.2465, allocations: 436.4 kB / 0.6552 GB, free: 13.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.2469, allocations: 295.8 kB / 0.6555 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005757/0.2475, allocations: 178.8 kB / 0.6556 GB, free: 12.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.2477, allocations: 349.9 kB / 0.656 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.2501, allocations: 0.6467 MB / 0.6566 GB, free: 11.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.2527, allocations: 0.7756 MB / 0.6573 GB, free: 10.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02813/0.2809, allocations: 4.485 MB / 0.6617 GB, free: 6.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.2809, allocations: 0 / 0.6617 GB, free: 6.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01987/0.3008, allocations: 4.129 MB / 0.6658 GB, free: 2.332 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.3009, allocations: 11.98 kB / 0.6658 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3009, allocations: 0 / 0.6658 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00976/0.3107, allocations: 1.78 MB / 0.6675 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3119, allocations: 175.7 kB / 0.6677 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03452/0.3465, allocations: 9.302 MB / 0.6768 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.3485, allocations: 155 kB / 0.6769 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.3488, allocations: 35.98 kB / 0.6769 GB, free: 6.723 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006603/0.3494, allocations: 225.7 kB / 0.6772 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.3497, allocations: 102.8 kB / 0.6773 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/0.3702, allocations: 3.844 MB / 0.681 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.3703, allocations: 8 kB / 0.681 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3703, allocations: 4 kB / 0.681 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/0.3703, allocations: 3.984 kB / 0.681 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/0.3934, allocations: 5.345 MB / 0.6862 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.3935, allocations: 3.984 kB / 0.6863 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.3945, allocations: 91.89 kB / 0.6863 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009999/0.4045, allocations: 1.749 MB / 0.688 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.4047, allocations: 12 kB / 0.6881 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03146/0.4362, allocations: 8.064 MB / 0.6959 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.4363, allocations: 3.938 kB / 0.6959 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/0.4598, allocations: 4.712 MB / 0.7005 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.4604, allocations: 179.7 kB / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.4607, allocations: 20 kB / 0.7007 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.4622, allocations: 91.89 kB / 0.7008 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009778/0.4632, allocations: 196.7 kB / 0.701 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.4633, allocations: 23.98 kB / 0.701 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001097/0.4644, allocations: 0.5422 MB / 0.7016 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4644, allocations: 0 / 0.7016 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001862/0.4663, allocations: 403.6 kB / 0.7019 GB, free: 12.74 MB / 0.5137 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 () * Number of clocked 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 (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.000353/0.4667, allocations: 119.5 kB / 0.7021 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009972/0.4766, allocations: 2.337 MB / 0.7043 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4767, allocations: 0 / 0.7043 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006851/0.4835, allocations: 1.52 MB / 0.7058 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4847, allocations: 91.92 kB / 0.7059 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.4891, allocations: 1.715 MB / 0.7076 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/0.4898, allocations: 1.029 MB / 0.7086 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003997/0.4903, allocations: 82.17 kB / 0.7087 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.4905, allocations: 63.42 kB / 0.7087 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.4905, allocations: 3.938 kB / 0.7087 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.3299/0.8205, allocations: 22.58 MB / 0.7308 GB, free: 82.48 MB / 0.5137 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)