Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006524/0.006524, allocations: 97.25 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 191.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.481/0.481, allocations: 78.52 MB / 418.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 76.09 kB / 0.5536 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3062, allocations: 68.16 MB / 0.6202 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004608/0.3109, allocations: 5.688 MB / 0.6257 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.313, allocations: 1.716 MB / 0.6274 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.3133, allocations: 11.94 kB / 0.6274 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.3137, allocations: 198.3 kB / 0.6276 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.3149, allocations: 0.6842 MB / 0.6283 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3157, allocations: 0.5536 MB / 0.6288 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.3165, allocations: 1.225 MB / 0.63 GB, free: 160 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.3169, allocations: 275.1 kB / 0.6303 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.3174, allocations: 0.5212 MB / 0.6308 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.318, allocations: 0.63 MB / 0.6314 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3182, allocations: 88 kB / 0.6315 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.3186, allocations: 223.9 kB / 0.6317 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3188, allocations: 242.9 kB / 0.6319 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.3192, allocations: 0.5359 MB / 0.6325 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3205, allocations: 1.343 MB / 0.6338 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3205, allocations: 3.938 kB / 0.6338 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3205, allocations: 0 / 0.6338 GB, free: 12.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3205, allocations: 0 / 0.6338 GB, free: 12.29 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007114/0.3277, allocations: 2.363 MB / 0.6361 GB, free: 9.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3277, allocations: 8.031 kB / 0.6361 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004846/0.3326, allocations: 0.768 MB / 0.6368 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.3335, allocations: 0.7057 MB / 0.6375 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.3338, allocations: 251.4 kB / 0.6378 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.334, allocations: 71.94 kB / 0.6378 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3359, allocations: 0.9434 MB / 0.6388 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.336, allocations: 3.938 kB / 0.6388 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.336, allocations: 32 kB / 0.6388 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.3361, allocations: 12 kB / 0.6388 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.3382, allocations: 0.9694 MB / 0.6398 GB, free: 6.02 MB / 446.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.004913/0.3431, allocations: 3.14 MB / 0.6428 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3452, allocations: 1.319 MB / 0.6441 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.3466, allocations: 0.6944 MB / 0.6448 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.3467, allocations: 12.64 kB / 0.6448 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3467, allocations: 51.16 kB / 0.6448 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.815e-06/0.3467, allocations: 0 / 0.6448 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02698/0.3737, allocations: 6.697 MB / 0.6514 GB, free: 9.789 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3738, allocations: 60.06 kB / 0.6514 GB, free: 9.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.3748, allocations: 0.7905 MB / 0.6522 GB, free: 8.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.3749, allocations: 41.7 kB / 0.6523 GB, free: 8.871 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.3752, allocations: 433 kB / 0.6527 GB, free: 8.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.3755, allocations: 305.4 kB / 0.653 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.3758, allocations: 178.6 kB / 0.6531 GB, free: 7.961 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.376, allocations: 345.9 kB / 0.6535 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3774, allocations: 0.6425 MB / 0.6541 GB, free: 6.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.379, allocations: 0.7589 MB / 0.6548 GB, free: 6.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/0.3967, allocations: 4.446 MB / 0.6592 GB, free: 1.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3967, allocations: 0 / 0.6592 GB, free: 1.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01353/0.4102, allocations: 4.044 MB / 0.6631 GB, free: 13.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.4103, allocations: 14.27 kB / 0.6631 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4104, allocations: 4 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006633/0.417, allocations: 1.854 MB / 0.665 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.4179, allocations: 163.8 kB / 0.6651 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.4407, allocations: 9.11 MB / 0.674 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.4421, allocations: 159.2 kB / 0.6742 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.4423, allocations: 35.98 kB / 0.6742 GB, free: 2.156 MB / 478.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.0005547/0.4428, allocations: 225.6 kB / 0.6744 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.4431, allocations: 103.3 kB / 0.6745 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.4562, allocations: 3.825 MB / 0.6782 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4563, allocations: 11.94 kB / 0.6782 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4563, allocations: 0 / 0.6782 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4563, allocations: 3.984 kB / 0.6783 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.4719, allocations: 5.318 MB / 0.6834 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4719, allocations: 8 kB / 0.6835 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.4725, allocations: 91.86 kB / 0.6835 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/0.4787, allocations: 1.745 MB / 0.6852 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.4789, allocations: 12 kB / 0.6853 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/0.4983, allocations: 8.089 MB / 0.6932 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4983, allocations: 4 kB / 0.6932 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/0.513, allocations: 4.693 MB / 0.6977 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.5134, allocations: 188.3 kB / 0.6979 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.5137, allocations: 19.94 kB / 0.6979 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5147, allocations: 91.89 kB / 0.698 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006483/0.5154, allocations: 200.7 kB / 0.6982 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.5155, allocations: 27.98 kB / 0.6982 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007475/0.5162, allocations: 0.5224 MB / 0.6988 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5162, allocations: 0 / 0.6988 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001251/0.5175, allocations: 403.7 kB / 0.6991 GB, free: 8.246 MB / 0.4981 GB 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.0002948/0.5178, allocations: 127.1 kB / 0.6993 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.5243, allocations: 2.308 MB / 0.7015 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5243, allocations: 0 / 0.7015 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/0.529, allocations: 1.503 MB / 0.703 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.5298, allocations: 75.31 kB / 0.7031 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.533, allocations: 1.687 MB / 0.7047 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5336, allocations: 1.029 MB / 0.7057 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.5339, allocations: 78.17 kB / 0.7058 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.5341, allocations: 67.3 kB / 0.7058 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5341, allocations: 0 / 0.7058 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.03676/0.5708, allocations: 22.26 MB / 0.7276 GB, free: 11.02 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)