Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0702/0.0702, allocations: 12.6 MB / 28.76 MB, free: 0.9805 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.000895/0.0008949, allocations: 113.6 kB / 32.36 MB, free: 3.953 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.113/1.113, allocations: 205.1 MB / 241 MB, free: 12.44 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.001102/0.001102, allocations: 180.5 kB / 291.2 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3698/0.3698, allocations: 78.5 MB / 419.8 MB, free: 11.36 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.002424/0.002424, allocations: 147.8 kB / 0.4887 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2197, allocations: 68.11 MB / 0.5552 GB, free: 32.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004491/0.2242, allocations: 5.725 MB / 0.5608 GB, free: 28.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2263, allocations: 1.697 MB / 0.5625 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.2265, allocations: 9.562 kB / 0.5625 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.2269, allocations: 207.1 kB / 0.5627 GB, free: 26.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.228, allocations: 0.6879 MB / 0.5634 GB, free: 26.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.2288, allocations: 0.543 MB / 0.5639 GB, free: 26.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007528/0.2295, allocations: 1.226 MB / 0.5651 GB, free: 25.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2298, allocations: 280.4 kB / 0.5653 GB, free: 25.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.2302, allocations: 0.5162 MB / 0.5659 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.2307, allocations: 0.6297 MB / 0.5665 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2308, allocations: 84.88 kB / 0.5665 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.2311, allocations: 231.8 kB / 0.5668 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2312, allocations: 242.1 kB / 0.567 GB, free: 24.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2315, allocations: 0.5325 MB / 0.5675 GB, free: 23.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.2323, allocations: 1.334 MB / 0.5688 GB, free: 22.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2323, allocations: 0 / 0.5688 GB, free: 22.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2323, allocations: 1 kB / 0.5688 GB, free: 22.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2324, allocations: 0 / 0.5688 GB, free: 22.72 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006211/0.2386, allocations: 2.329 MB / 0.5711 GB, free: 21.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.2386, allocations: 13.83 kB / 0.5711 GB, free: 21.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/0.2429, allocations: 0.7554 MB / 0.5718 GB, free: 20.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.2436, allocations: 0.6983 MB / 0.5725 GB, free: 20.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.2438, allocations: 250.9 kB / 0.5728 GB, free: 20.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2439, allocations: 64 kB / 0.5728 GB, free: 20.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.2455, allocations: 0.9384 MB / 0.5737 GB, free: 19.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2456, allocations: 11.92 kB / 0.5738 GB, free: 19.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.2456, allocations: 25.56 kB / 0.5738 GB, free: 19.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2457, allocations: 16.28 kB / 0.5738 GB, free: 19.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.2474, allocations: 0.9659 MB / 0.5747 GB, free: 19.11 MB / 398.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.003785/0.2512, allocations: 3.154 MB / 0.5778 GB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2527, allocations: 1.316 MB / 0.5791 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.2538, allocations: 0.6983 MB / 0.5798 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.2539, allocations: 16.59 kB / 0.5798 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.254, allocations: 39.22 kB / 0.5798 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 1.924e-06/0.254, allocations: 0 / 0.5798 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02312/0.2771, allocations: 6.696 MB / 0.5864 GB, free: 7.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.2771, allocations: 60.06 kB / 0.5864 GB, free: 7.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.2777, allocations: 0.7905 MB / 0.5872 GB, free: 6.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.2778, allocations: 41.7 kB / 0.5873 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2779, allocations: 428.4 kB / 0.5877 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.2781, allocations: 295.8 kB / 0.5879 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.2784, allocations: 170.5 kB / 0.5881 GB, free: 5.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.2784, allocations: 345.9 kB / 0.5884 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.2796, allocations: 0.6425 MB / 0.5891 GB, free: 4.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.2808, allocations: 0.7588 MB / 0.5898 GB, free: 3.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/0.2959, allocations: 4.468 MB / 0.5942 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.296, allocations: 0 / 0.5942 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01225/0.3082, allocations: 4.031 MB / 0.5981 GB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3082, allocations: 8 kB / 0.5981 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3082, allocations: 0 / 0.5981 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005709/0.314, allocations: 1.87 MB / 0.5999 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.3146, allocations: 167.8 kB / 0.6001 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.3343, allocations: 9.088 MB / 0.609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3355, allocations: 155 kB / 0.6091 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.3356, allocations: 35.98 kB / 0.6092 GB, free: 15.54 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003511/0.3359, allocations: 233.7 kB / 0.6094 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.3361, allocations: 102.7 kB / 0.6095 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.3479, allocations: 3.813 MB / 0.6132 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3479, allocations: 8 kB / 0.6132 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3479, allocations: 0 / 0.6132 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.348, allocations: 11.91 kB / 0.6132 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.3613, allocations: 5.336 MB / 0.6184 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3613, allocations: 0 / 0.6184 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.3617, allocations: 83.89 kB / 0.6185 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/0.3672, allocations: 1.752 MB / 0.6202 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.3673, allocations: 16 kB / 0.6202 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/0.3845, allocations: 8.08 MB / 0.6281 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3845, allocations: 0 / 0.6281 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.3978, allocations: 4.696 MB / 0.6327 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.3981, allocations: 183.6 kB / 0.6329 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3982, allocations: 19.94 kB / 0.6329 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/0.3991, allocations: 91.83 kB / 0.633 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.3996, allocations: 208.6 kB / 0.6332 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.3996, allocations: 24 kB / 0.6332 GB, free: 6.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005743/0.4002, allocations: 0.5263 MB / 0.6337 GB, free: 6.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 0 / 0.6337 GB, free: 6.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009733/0.4012, allocations: 399.6 kB / 0.6341 GB, free: 5.621 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.000209/0.4014, allocations: 123.2 kB / 0.6342 GB, free: 5.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.4076, allocations: 2.33 MB / 0.6365 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4076, allocations: 0.5625 kB / 0.6365 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004215/0.4118, allocations: 1.503 MB / 0.638 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.4124, allocations: 77.97 kB / 0.638 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.4151, allocations: 1.699 MB / 0.6397 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.4156, allocations: 1.025 MB / 0.6407 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.4158, allocations: 67.36 kB / 0.6408 GB, free: 14.72 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4158, allocations: 0 / 0.6408 GB, free: 14.72 MB / 462.1 MB Notification: Performance of Templates: time 0.01982/0.4356, allocations: 17.57 MB / 0.6579 GB, free: 13.13 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)