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.001322/0.001322, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001273/0.001273, allocations: 195.7 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4513/0.4513, allocations: 78.52 MB / 418.2 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 79.83 kB / 497.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 68.17 MB / 0.5523 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2507/0.3945, allocations: 5.687 MB / 0.5579 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.3982, allocations: 1.72 MB / 0.5596 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009689/0.3992, allocations: 12.91 kB / 0.5596 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.3998, allocations: 199.9 kB / 0.5598 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.4016, allocations: 0.6824 MB / 0.5605 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.4028, allocations: 0.5462 MB / 0.561 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4042, allocations: 1.231 MB / 0.5622 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.4046, allocations: 269.4 kB / 0.5624 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.4053, allocations: 0.5163 MB / 0.5629 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.4059, allocations: 0.6299 MB / 0.5636 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.406, allocations: 89.44 kB / 0.5636 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.4065, allocations: 222.8 kB / 0.5639 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.4066, allocations: 241.1 kB / 0.5641 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.407, allocations: 0.5333 MB / 0.5646 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4082, allocations: 1.331 MB / 0.5659 GB, free: 34.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4082, allocations: 6.391 kB / 0.5659 GB, free: 34.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4082, allocations: 0 / 0.5659 GB, free: 34.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.4083, allocations: 0 / 0.5659 GB, free: 34.65 MB / 430.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.007184/0.4155, allocations: 2.331 MB / 0.5682 GB, free: 33.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4155, allocations: 10.19 kB / 0.5682 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.4203, allocations: 0.7518 MB / 0.5689 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009852/0.4213, allocations: 0.6975 MB / 0.5696 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.4216, allocations: 255.6 kB / 0.5699 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.4217, allocations: 74.17 kB / 0.5699 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.4235, allocations: 0.9382 MB / 0.5708 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4236, allocations: 4.469 kB / 0.5709 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.4237, allocations: 24.62 kB / 0.5709 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4237, allocations: 17.92 kB / 0.5709 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.4255, allocations: 0.9732 MB / 0.5718 GB, free: 33.14 MB / 430.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.004806/0.4303, allocations: 3.147 MB / 0.5749 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.4322, allocations: 1.309 MB / 0.5762 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4335, allocations: 0.6925 MB / 0.5769 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/0.4336, allocations: 16.53 kB / 0.5769 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4336, allocations: 46.03 kB / 0.5769 GB, free: 31.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.815e-06/0.4336, allocations: 0 / 0.5769 GB, free: 31.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02611/0.4597, allocations: 6.697 MB / 0.5835 GB, free: 30.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4598, allocations: 60.06 kB / 0.5835 GB, free: 30.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4612, allocations: 0.7929 MB / 0.5843 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003372/0.4615, allocations: 44.55 kB / 0.5843 GB, free: 29.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.4619, allocations: 431.5 kB / 0.5848 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.4623, allocations: 283.8 kB / 0.585 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.4628, allocations: 181.6 kB / 0.5852 GB, free: 29.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4629, allocations: 340.2 kB / 0.5855 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.4646, allocations: 0.642 MB / 0.5862 GB, free: 28.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.466, allocations: 0.7646 MB / 0.5869 GB, free: 28.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/0.4846, allocations: 4.459 MB / 0.5913 GB, free: 26.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.4847, allocations: 2.25 kB / 0.5913 GB, free: 26.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01451/0.4992, allocations: 4.034 MB / 0.5952 GB, free: 26.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.4993, allocations: 5.125 kB / 0.5952 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.4993, allocations: 2.594 kB / 0.5952 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/0.5058, allocations: 1.865 MB / 0.597 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.5068, allocations: 164 kB / 0.5972 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.529, allocations: 9.097 MB / 0.6061 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.5306, allocations: 155.2 kB / 0.6062 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5308, allocations: 34.62 kB / 0.6062 GB, free: 21.3 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.0004329/0.5312, allocations: 233.2 kB / 0.6065 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.5314, allocations: 99.66 kB / 0.6066 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.5441, allocations: 3.821 MB / 0.6103 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.5441, allocations: 8.25 kB / 0.6103 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5441, allocations: 1.375 kB / 0.6103 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.5442, allocations: 5.484 kB / 0.6103 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.5578, allocations: 5.336 MB / 0.6155 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.5578, allocations: 0 / 0.6155 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.5584, allocations: 87.89 kB / 0.6156 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.564, allocations: 1.747 MB / 0.6173 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.5642, allocations: 12 kB / 0.6173 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/0.5807, allocations: 8.086 MB / 0.6252 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5807, allocations: 0 / 0.6252 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.5946, allocations: 4.694 MB / 0.6298 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.5951, allocations: 188.6 kB / 0.63 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.5953, allocations: 11.94 kB / 0.63 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5963, allocations: 96.89 kB / 0.6301 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/0.597, allocations: 196.7 kB / 0.6303 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.5971, allocations: 20 kB / 0.6303 GB, free: 14.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007334/0.5978, allocations: 0.5303 MB / 0.6308 GB, free: 14.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5978, allocations: 0 / 0.6308 GB, free: 14.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001446/0.5993, allocations: 399.5 kB / 0.6312 GB, free: 13.84 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.0002889/0.5996, allocations: 127.1 kB / 0.6313 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007009/0.6066, allocations: 2.329 MB / 0.6336 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6066, allocations: 0.5625 kB / 0.6336 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.6114, allocations: 1.505 MB / 0.6351 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.6123, allocations: 75.31 kB / 0.6351 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.6154, allocations: 1.689 MB / 0.6368 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.616, allocations: 1.025 MB / 0.6378 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.6163, allocations: 76.25 kB / 0.6379 GB, free: 6.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6164, allocations: 59.42 kB / 0.6379 GB, free: 6.906 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6164, allocations: 0 / 0.6379 GB, free: 6.906 MB / 446.1 MB Notification: Performance of Templates: time 0.03419/0.6506, allocations: 22.07 MB / 0.6595 GB, free: 1.016 MB / 462.1 MB 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)