Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08124/0.08125, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.001081/0.001081, allocations: 103.5 kB / 32.51 MB, free: 3.562 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.407/1.407, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001496/0.001496, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5017/0.5017, allocations: 78.51 MB / 420 MB, free: 11.23 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.002621/0.002621, allocations: 144.5 kB / 0.5565 GB, free: 28.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1664, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.0084/0.1749, allocations: 6.472 MB / 0.6294 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.1793, allocations: 1.842 MB / 0.6312 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1806, allocations: 8 kB / 0.6312 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.1816, allocations: 226 kB / 0.6314 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.1843, allocations: 0.7646 MB / 0.6322 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.186, allocations: 0.6073 MB / 0.6328 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.1885, allocations: 1.413 MB / 0.6341 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.1892, allocations: 332.3 kB / 0.6345 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1904, allocations: 0.5951 MB / 0.635 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1917, allocations: 0.7388 MB / 0.6358 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.1921, allocations: 100 kB / 0.6359 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.193, allocations: 239.9 kB / 0.6361 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000512/0.1935, allocations: 278.8 kB / 0.6363 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.1944, allocations: 0.6213 MB / 0.637 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.1963, allocations: 1.528 MB / 0.6384 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1963, allocations: 4 kB / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1963, allocations: 0 / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1964, allocations: 0 / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007405/0.2038, allocations: 2.601 MB / 0.641 GB, free: 12.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2038, allocations: 11.98 kB / 0.641 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.2087, allocations: 0.7913 MB / 0.6418 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.2102, allocations: 0.7812 MB / 0.6425 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.2105, allocations: 252.2 kB / 0.6428 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.2108, allocations: 87.95 kB / 0.6429 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.2131, allocations: 1.077 MB / 0.6439 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.2131, allocations: 3.938 kB / 0.6439 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.2132, allocations: 36 kB / 0.644 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.2133, allocations: 16 kB / 0.644 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.2158, allocations: 1.12 MB / 0.6451 GB, free: 8.656 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.006194/0.222, allocations: 3.452 MB / 0.6484 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.2241, allocations: 1.427 MB / 0.6498 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.2257, allocations: 0.7851 MB / 0.6506 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2258, allocations: 13 kB / 0.6506 GB, free: 2.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2259, allocations: 39.56 kB / 0.6506 GB, free: 2.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.076e-06/0.2259, allocations: 0 / 0.6506 GB, free: 2.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02393/0.2498, allocations: 6.618 MB / 0.6571 GB, free: 12.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.2499, allocations: 64.41 kB / 0.6572 GB, free: 11.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.2513, allocations: 0.8963 MB / 0.658 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.2514, allocations: 41.7 kB / 0.6581 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.2519, allocations: 0.4935 MB / 0.6586 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.2523, allocations: 364.8 kB / 0.6589 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.2527, allocations: 198.9 kB / 0.6591 GB, free: 9.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2529, allocations: 357.9 kB / 0.6594 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.2545, allocations: 0.7131 MB / 0.6601 GB, free: 8.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.2563, allocations: 0.8501 MB / 0.661 GB, free: 7.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.2745, allocations: 4.83 MB / 0.6657 GB, free: 3.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.587e-06/0.2746, allocations: 3.938 kB / 0.6657 GB, free: 3.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01335/0.2879, allocations: 4.285 MB / 0.6699 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.288, allocations: 10.91 kB / 0.6699 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.288, allocations: 7.984 kB / 0.6699 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005988/0.294, allocations: 1.811 MB / 0.6717 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.2952, allocations: 211.7 kB / 0.6719 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.3167, allocations: 9.324 MB / 0.681 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3183, allocations: 175.2 kB / 0.6811 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.3186, allocations: 39.98 kB / 0.6812 GB, free: 3.07 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.000656/0.3193, allocations: 257.3 kB / 0.6814 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.3196, allocations: 127.2 kB / 0.6815 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.3325, allocations: 4.002 MB / 0.6855 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.3326, allocations: 11.92 kB / 0.6855 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3326, allocations: 3.984 kB / 0.6855 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.3331, allocations: 212 kB / 0.6857 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/0.3335, allocations: 16 kB / 0.6857 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.3348, allocations: 111.8 kB / 0.6858 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/0.3362, allocations: 0.4924 MB / 0.6863 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006047/0.3423, allocations: 2.087 MB / 0.6883 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005077/0.3474, allocations: 2.342 MB / 0.6906 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001449/0.3488, allocations: 0.6284 MB / 0.6912 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009141/0.3498, allocations: 0.6008 MB / 0.6918 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of Backend: time 8.01e-07/0.3498, allocations: 4 kB / 0.6918 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006429/0.3562, allocations: 2.007 MB / 0.6938 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004082/0.3603, allocations: 2.584 MB / 0.6963 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of Templates: time 0.3337/0.694, allocations: 22.78 MB / 0.7185 GB, free: 86.71 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)