Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07726/0.07726, allocations: 12.59 MB / 28.22 MB, free: 1.086 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.0009753/0.0009754, allocations: 119.3 kB / 31.84 MB, free: 4.023 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.344/1.344, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001511/0.001511, allocations: 184.5 kB / 290.7 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.4215/0.4215, allocations: 78.5 MB / 419.3 MB, free: 11.26 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.002559/0.002559, allocations: 146.7 kB / 0.5558 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1081, allocations: 68.12 MB / 0.6224 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006954/0.1151, allocations: 6.667 MB / 0.6289 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.1191, allocations: 1.986 MB / 0.6308 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.1198, allocations: 12 kB / 0.6308 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.1205, allocations: 245.9 kB / 0.6311 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.1223, allocations: 0.8247 MB / 0.6319 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1237, allocations: 0.6702 MB / 0.6325 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.1253, allocations: 1.647 MB / 0.6341 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.1258, allocations: 344.6 kB / 0.6345 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.1265, allocations: 0.673 MB / 0.6351 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000815/0.1274, allocations: 0.809 MB / 0.6359 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.1275, allocations: 124 kB / 0.636 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.128, allocations: 263.8 kB / 0.6363 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.1283, allocations: 330.6 kB / 0.6366 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.1288, allocations: 0.6719 MB / 0.6373 GB, free: 144 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1304, allocations: 1.701 MB / 0.6389 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1304, allocations: 0 / 0.6389 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1304, allocations: 3.938 kB / 0.6389 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1304, allocations: 0 / 0.6389 GB, free: 14.43 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00893/0.1393, allocations: 2.762 MB / 0.6416 GB, free: 11.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1394, allocations: 11.98 kB / 0.6416 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.1446, allocations: 0.7827 MB / 0.6424 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.146, allocations: 0.8977 MB / 0.6433 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.1462, allocations: 252.2 kB / 0.6435 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1464, allocations: 87.91 kB / 0.6436 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.1488, allocations: 1.168 MB / 0.6447 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1489, allocations: 3.938 kB / 0.6447 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.149, allocations: 40 kB / 0.6448 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.149, allocations: 20 kB / 0.6448 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.1514, allocations: 1.07 MB / 0.6458 GB, free: 7.168 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.006097/0.1575, allocations: 3.657 MB / 0.6494 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.16, allocations: 1.552 MB / 0.6509 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.1616, allocations: 0.7853 MB / 0.6517 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.54e-05/0.1617, allocations: 16.98 kB / 0.6517 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.1635, allocations: 0.8919 MB / 0.6526 GB, free: 15.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.735e-06/0.1635, allocations: 4 kB / 0.6526 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02869/0.1922, allocations: 6.956 MB / 0.6594 GB, free: 8.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1923, allocations: 119.8 kB / 0.6595 GB, free: 8.816 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.1941, allocations: 1.027 MB / 0.6605 GB, free: 7.773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.1943, allocations: 45.7 kB / 0.6605 GB, free: 7.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.1948, allocations: 0.5008 MB / 0.661 GB, free: 7.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.1952, allocations: 370.7 kB / 0.6614 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/0.1958, allocations: 247.4 kB / 0.6616 GB, free: 6.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1959, allocations: 365.9 kB / 0.662 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.1977, allocations: 0.7613 MB / 0.6627 GB, free: 5.477 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.1996, allocations: 0.9076 MB / 0.6636 GB, free: 4.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/0.2223, allocations: 5.421 MB / 0.6689 GB, free: 15.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2224, allocations: 0 / 0.6689 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01565/0.238, allocations: 4.514 MB / 0.6733 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.2381, allocations: 63.34 kB / 0.6734 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2382, allocations: 0 / 0.6734 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00733/0.2455, allocations: 1.85 MB / 0.6752 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.2469, allocations: 259.6 kB / 0.6754 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/0.271, allocations: 9.451 MB / 0.6846 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.273, allocations: 190.8 kB / 0.6848 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.2733, allocations: 51.98 kB / 0.6849 GB, free: 14.47 MB / 0.4981 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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.0007821/0.2741, allocations: 298.9 kB / 0.6852 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.2744, allocations: 122.5 kB / 0.6853 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.2903, allocations: 4.193 MB / 0.6894 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.2903, allocations: 8 kB / 0.6894 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2903, allocations: 0 / 0.6894 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.2904, allocations: 11.92 kB / 0.6894 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.308, allocations: 5.957 MB / 0.6952 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.308, allocations: 0 / 0.6952 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.3088, allocations: 103.9 kB / 0.6953 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006694/0.3155, allocations: 1.84 MB / 0.6971 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.3157, allocations: 24 kB / 0.6971 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02358/0.3393, allocations: 10.31 MB / 0.7072 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3393, allocations: 3.938 kB / 0.7072 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.3562, allocations: 5.136 MB / 0.7122 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.3567, allocations: 215.4 kB / 0.7124 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.357, allocations: 19.94 kB / 0.7124 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.3584, allocations: 115.9 kB / 0.7125 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/0.3592, allocations: 212.7 kB / 0.7128 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.3593, allocations: 31.98 kB / 0.7128 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00128/0.3606, allocations: 0.6993 MB / 0.7135 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3606, allocations: 3.938 kB / 0.7135 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001878/0.3625, allocations: 487.4 kB / 0.7139 GB, free: 172 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004019/0.3629, allocations: 143.5 kB / 0.7141 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.242/0.6049, allocations: 2.679 MB / 0.7167 GB, free: 86.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6049, allocations: 0.7812 kB / 0.7167 GB, free: 86.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005279/0.6102, allocations: 1.804 MB / 0.7184 GB, free: 86.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.6112, allocations: 109.4 kB / 0.7186 GB, free: 86.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.6153, allocations: 2.333 MB / 0.7208 GB, free: 85.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.6159, allocations: 1.126 MB / 0.7219 GB, free: 84.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.6164, allocations: 111.8 kB / 0.722 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.6167, allocations: 76.61 kB / 0.7221 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.6167, allocations: 0 / 0.7221 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.03525/0.6519, allocations: 26.63 MB / 0.7481 GB, free: 71.75 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)