Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09238/0.09238, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001169/0.001169, allocations: 115.5 kB / 32.51 MB, free: 3.547 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.51/1.51, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001593/0.001593, allocations: 195.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4292/0.4292, allocations: 78.51 MB / 420 MB, free: 11.27 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.0027/0.0027, allocations: 135.8 kB / 0.5565 GB, free: 28.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.12, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.007278/0.1273, allocations: 6.605 MB / 0.6295 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.1312, allocations: 2.013 MB / 0.6315 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.1319, allocations: 19.94 kB / 0.6315 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.1327, allocations: 242 kB / 0.6317 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.1347, allocations: 0.8092 MB / 0.6325 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1363, allocations: 0.6975 MB / 0.6332 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.1384, allocations: 1.6 MB / 0.6347 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.139, allocations: 340.3 kB / 0.6351 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.14, allocations: 0.6536 MB / 0.6357 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.1412, allocations: 0.8051 MB / 0.6365 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.1416, allocations: 120 kB / 0.6366 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.1422, allocations: 255.9 kB / 0.6368 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.1426, allocations: 326.6 kB / 0.6372 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.1433, allocations: 0.6757 MB / 0.6378 GB, free: 268 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1452, allocations: 1.678 MB / 0.6395 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1452, allocations: 3.984 kB / 0.6395 GB, free: 14.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1452, allocations: 4 kB / 0.6395 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.392e-05/0.1453, allocations: 0 / 0.6395 GB, free: 14.57 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.009689/0.155, allocations: 2.735 MB / 0.6421 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.155, allocations: 11.98 kB / 0.6421 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.1604, allocations: 0.7865 MB / 0.6429 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1622, allocations: 0.8937 MB / 0.6438 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.1625, allocations: 230.5 kB / 0.644 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.1628, allocations: 87.91 kB / 0.6441 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.1654, allocations: 1.181 MB / 0.6452 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.1654, allocations: 0 / 0.6452 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1655, allocations: 32 kB / 0.6453 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1656, allocations: 20 kB / 0.6453 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.168, allocations: 1.085 MB / 0.6464 GB, free: 7.344 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.007356/0.1754, allocations: 3.711 MB / 0.65 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.1779, allocations: 1.515 MB / 0.6515 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.1796, allocations: 0.7939 MB / 0.6522 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.1797, allocations: 9 kB / 0.6522 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1797, allocations: 55.48 kB / 0.6523 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 5.611e-06/0.1797, allocations: 0 / 0.6523 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.0257/0.2054, allocations: 6.307 MB / 0.6585 GB, free: 10.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.2055, allocations: 145.5 kB / 0.6586 GB, free: 10.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.2073, allocations: 1.026 MB / 0.6596 GB, free: 9.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.2076, allocations: 45.7 kB / 0.6596 GB, free: 9.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.208, allocations: 0.4968 MB / 0.6601 GB, free: 8.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.2084, allocations: 358.8 kB / 0.6605 GB, free: 8.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.209, allocations: 238.7 kB / 0.6607 GB, free: 8.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2092, allocations: 357.9 kB / 0.661 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.211, allocations: 0.7595 MB / 0.6618 GB, free: 7.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.2129, allocations: 0.9017 MB / 0.6627 GB, free: 6.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02254/0.2355, allocations: 5.405 MB / 0.6679 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.2355, allocations: 4 kB / 0.6679 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01556/0.2511, allocations: 4.46 MB / 0.6723 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.2512, allocations: 59.41 kB / 0.6724 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2512, allocations: 0 / 0.6724 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/0.2587, allocations: 1.869 MB / 0.6742 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.26, allocations: 227.7 kB / 0.6744 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/0.2848, allocations: 9.468 MB / 0.6836 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.2867, allocations: 182.8 kB / 0.6838 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.2869, allocations: 43.98 kB / 0.6839 GB, free: 232 kB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002318/0.2892, allocations: 0.9365 MB / 0.6848 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001885/0.2911, allocations: 0.8901 MB / 0.6856 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02271/0.3138, allocations: 5.373 MB / 0.6909 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.916e-06/0.3139, allocations: 0 / 0.6909 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.01571/0.3296, allocations: 4.44 MB / 0.6952 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.3297, allocations: 63.39 kB / 0.6953 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3297, allocations: 3.984 kB / 0.6953 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/0.3372, allocations: 1.858 MB / 0.6971 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.3385, allocations: 227.7 kB / 0.6973 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.3625, allocations: 9.458 MB / 0.7066 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.3643, allocations: 175 kB / 0.7067 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.3645, allocations: 43.98 kB / 0.7068 GB, free: 8.457 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004408/0.3649, allocations: 269.7 kB / 0.707 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.3653, allocations: 122.5 kB / 0.7071 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.3794, allocations: 4.063 MB / 0.7111 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.3795, allocations: 3.984 kB / 0.7111 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3795, allocations: 4 kB / 0.7111 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.3799, allocations: 215.4 kB / 0.7113 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.3802, allocations: 20 kB / 0.7113 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.3816, allocations: 107.8 kB / 0.7114 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001175/0.3827, allocations: 484.3 kB / 0.7119 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007305/0.3901, allocations: 2.325 MB / 0.7142 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.25/0.6401, allocations: 2.451 MB / 0.7166 GB, free: 84.42 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001523/0.6416, allocations: 0.6219 MB / 0.7172 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001181/0.6428, allocations: 0.7056 MB / 0.7179 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of Backend: time 4.61e-07/0.6428, allocations: 1.125 kB / 0.7179 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0128/0.6556, allocations: 4.108 MB / 0.7219 GB, free: 83.06 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003723/0.6594, allocations: 2.987 MB / 0.7248 GB, free: 81.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.04812/0.7075, allocations: 36.65 MB / 0.7606 GB, free: 59.43 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)