Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 107.2 kB / 16.41 MB, free: 6.484 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.439/1.439, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001487/0.001487, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4719/0.4719, allocations: 78.53 MB / 419.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 79.86 kB / 0.5543 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3267, allocations: 68.17 MB / 0.6209 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004596/0.3313, allocations: 5.764 MB / 0.6265 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.3341, allocations: 1.736 MB / 0.6282 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.3345, allocations: 15.94 kB / 0.6282 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.3349, allocations: 198.3 kB / 0.6284 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3363, allocations: 0.7314 MB / 0.6291 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.3372, allocations: 0.5591 MB / 0.6297 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.3381, allocations: 1.249 MB / 0.6309 GB, free: 128 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.3384, allocations: 187.2 kB / 0.6311 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.3391, allocations: 0.5251 MB / 0.6316 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.3398, allocations: 0.6455 MB / 0.6322 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.34, allocations: 88 kB / 0.6323 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.3404, allocations: 231.9 kB / 0.6325 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3406, allocations: 246.8 kB / 0.6327 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.3411, allocations: 0.5359 MB / 0.6333 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.3426, allocations: 1.363 MB / 0.6346 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3426, allocations: 0 / 0.6346 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3426, allocations: 0 / 0.6346 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3426, allocations: 0 / 0.6346 GB, free: 12.3 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.008012/0.3507, allocations: 2.387 MB / 0.6369 GB, free: 9.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3507, allocations: 8.031 kB / 0.6369 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.3558, allocations: 0.7641 MB / 0.6377 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.3572, allocations: 0.7213 MB / 0.6384 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.3576, allocations: 248.2 kB / 0.6386 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3577, allocations: 68 kB / 0.6387 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.3599, allocations: 0.9598 MB / 0.6396 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3599, allocations: 3.938 kB / 0.6396 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.36, allocations: 24 kB / 0.6397 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.36, allocations: 16 kB / 0.6397 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.3623, allocations: 0.9799 MB / 0.6406 GB, free: 5.977 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.005921/0.3682, allocations: 3.163 MB / 0.6437 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.3705, allocations: 1.221 MB / 0.6449 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.3719, allocations: 0.628 MB / 0.6455 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.821e-05/0.372, allocations: 20.62 kB / 0.6455 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3721, allocations: 43.16 kB / 0.6456 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.3721, allocations: 7.938 kB / 0.6456 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02889/0.401, allocations: 6.72 MB / 0.6522 GB, free: 9.855 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.401, allocations: 68 kB / 0.6522 GB, free: 9.777 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4022, allocations: 0.8065 MB / 0.653 GB, free: 8.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.4024, allocations: 41.7 kB / 0.653 GB, free: 8.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.4028, allocations: 441 kB / 0.6535 GB, free: 8.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.4031, allocations: 301.4 kB / 0.6538 GB, free: 8.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.4035, allocations: 186.9 kB / 0.6539 GB, free: 7.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4037, allocations: 345.9 kB / 0.6543 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4053, allocations: 0.6507 MB / 0.6549 GB, free: 6.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.407, allocations: 0.7717 MB / 0.6556 GB, free: 6.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.4257, allocations: 4.5 MB / 0.66 GB, free: 1.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.4257, allocations: 4 kB / 0.66 GB, free: 1.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01415/0.4399, allocations: 4.083 MB / 0.664 GB, free: 13.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.4399, allocations: 9.703 kB / 0.664 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4399, allocations: 4 kB / 0.664 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006474/0.4464, allocations: 1.787 MB / 0.6658 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.4473, allocations: 163.8 kB / 0.6659 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.47, allocations: 9.337 MB / 0.6751 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.4713, allocations: 155.2 kB / 0.6752 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/0.4714, allocations: 35.98 kB / 0.6753 GB, free: 1.898 MB / 478.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.0004384/0.4718, allocations: 217.7 kB / 0.6755 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.472, allocations: 107.3 kB / 0.6756 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.4853, allocations: 3.809 MB / 0.6793 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.4853, allocations: 11.98 kB / 0.6793 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4853, allocations: 0 / 0.6793 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4854, allocations: 7.984 kB / 0.6793 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.5003, allocations: 5.318 MB / 0.6845 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5003, allocations: 0 / 0.6845 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.5008, allocations: 95.88 kB / 0.6846 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006318/0.5071, allocations: 1.737 MB / 0.6863 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.5073, allocations: 16 kB / 0.6863 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.5277, allocations: 8.065 MB / 0.6942 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5277, allocations: 7.922 kB / 0.6942 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.5433, allocations: 4.685 MB / 0.6988 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.5437, allocations: 196.2 kB / 0.6989 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.5438, allocations: 16 kB / 0.699 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.5447, allocations: 95.89 kB / 0.699 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006376/0.5454, allocations: 196.7 kB / 0.6992 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.5454, allocations: 19.98 kB / 0.6993 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007469/0.5462, allocations: 0.5383 MB / 0.6998 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5462, allocations: 0 / 0.6998 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001159/0.5474, allocations: 411.7 kB / 0.7002 GB, free: 8 MB / 0.4981 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.000258/0.5476, allocations: 131 kB / 0.7003 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00659/0.5542, allocations: 2.216 MB / 0.7025 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5542, allocations: 0 / 0.7025 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.5588, allocations: 1.431 MB / 0.7039 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.5595, allocations: 83.27 kB / 0.7039 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.5626, allocations: 1.771 MB / 0.7057 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.5633, allocations: 1.037 MB / 0.7067 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.5635, allocations: 82.17 kB / 0.7068 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5637, allocations: 59.42 kB / 0.7068 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.5637, allocations: 0 / 0.7068 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.03405/0.5977, allocations: 22.74 MB / 0.729 GB, free: 10.36 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)