Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0823/0.0823, allocations: 12.59 MB / 28.22 MB, free: 1.082 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.001232/0.001232, allocations: 115.3 kB / 31.84 MB, free: 4.02 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.355/1.355, 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.001267/0.001267, 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.4212/0.4212, allocations: 78.5 MB / 419.3 MB, free: 11.25 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.002574/0.002574, allocations: 138.1 kB / 0.5559 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1434, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007717/0.1512, allocations: 7.044 MB / 0.6293 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.1556, allocations: 2.083 MB / 0.6313 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.1564, allocations: 19.94 kB / 0.6313 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.1571, allocations: 253.8 kB / 0.6316 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.1591, allocations: 0.7773 MB / 0.6323 GB, free: 5.211 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1608, allocations: 0.7517 MB / 0.6331 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.1628, allocations: 1.729 MB / 0.6347 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.1635, allocations: 399.6 kB / 0.6351 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.1644, allocations: 0.7041 MB / 0.6358 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.1654, allocations: 0.8439 MB / 0.6366 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1656, allocations: 132 kB / 0.6368 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.1662, allocations: 267.9 kB / 0.637 GB, free: 380 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.1665, allocations: 350.6 kB / 0.6374 GB, free: 28 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007373/0.1672, allocations: 0.7186 MB / 0.6381 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1693, allocations: 1.832 MB / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1693, allocations: 0 / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1693, allocations: 3.938 kB / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.1694, allocations: 0 / 0.6398 GB, free: 13.46 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009086/0.1785, allocations: 2.886 MB / 0.6427 GB, free: 10.51 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1785, allocations: 11.98 kB / 0.6427 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.1836, allocations: 0.8029 MB / 0.6435 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.1853, allocations: 0.9344 MB / 0.6444 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.1857, allocations: 327.6 kB / 0.6447 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.1859, allocations: 103.9 kB / 0.6448 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.1888, allocations: 1.283 MB / 0.646 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1888, allocations: 0 / 0.646 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.1889, allocations: 40 kB / 0.6461 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.189, allocations: 27.92 kB / 0.6461 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.1917, allocations: 1.195 MB / 0.6473 GB, free: 5.668 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.007067/0.1988, allocations: 4.176 MB / 0.6513 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.2023, allocations: 1.777 MB / 0.6531 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.2041, allocations: 0.8523 MB / 0.6539 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.2042, allocations: 24.98 kB / 0.6539 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/0.2062, allocations: 0.9542 MB / 0.6549 GB, free: 13.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.795e-06/0.2062, allocations: 4 kB / 0.6549 GB, free: 13.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03329/0.2395, allocations: 7.902 MB / 0.6626 GB, free: 5.594 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.2396, allocations: 115.8 kB / 0.6627 GB, free: 5.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.2413, allocations: 1.037 MB / 0.6637 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.2416, allocations: 45.7 kB / 0.6638 GB, free: 4.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.242, allocations: 0.5331 MB / 0.6643 GB, free: 3.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.2424, allocations: 404.5 kB / 0.6647 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.2429, allocations: 255.5 kB / 0.6649 GB, free: 3.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2431, allocations: 353.9 kB / 0.6652 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.2449, allocations: 0.7847 MB / 0.666 GB, free: 2.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.2469, allocations: 0.9406 MB / 0.6669 GB, free: 1.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02249/0.2694, allocations: 5.496 MB / 0.6723 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2694, allocations: 7.938 kB / 0.6723 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01441/0.2838, allocations: 4.464 MB / 0.6767 GB, free: 6.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.2839, allocations: 59.34 kB / 0.6767 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.284, allocations: 4 kB / 0.6767 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006237/0.2902, allocations: 1.745 MB / 0.6784 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.2918, allocations: 275.6 kB / 0.6787 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/0.3139, allocations: 9.035 MB / 0.6875 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.3158, allocations: 211 kB / 0.6877 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.3161, allocations: 51.97 kB / 0.6878 GB, free: 11.43 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008358/0.3169, allocations: 303.6 kB / 0.6881 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.3173, allocations: 139.1 kB / 0.6882 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.333, allocations: 4.401 MB / 0.6925 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.3331, allocations: 12 kB / 0.6925 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3331, allocations: 0 / 0.6925 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.3332, allocations: 7.969 kB / 0.6925 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/0.3522, allocations: 6.271 MB / 0.6986 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.3522, allocations: 4 kB / 0.6986 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/0.3531, allocations: 127.8 kB / 0.6988 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00667/0.3597, allocations: 1.899 MB / 0.7006 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.36, allocations: 24 kB / 0.7006 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/0.3846, allocations: 10.72 MB / 0.7111 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3847, allocations: 0 / 0.7111 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3249/0.7096, allocations: 5.424 MB / 0.7164 GB, free: 83.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.7103, allocations: 231.8 kB / 0.7166 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.7105, allocations: 18.22 kB / 0.7166 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.7119, allocations: 139 kB / 0.7168 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008511/0.7127, allocations: 242 kB / 0.717 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.7129, allocations: 31.95 kB / 0.717 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001269/0.7141, allocations: 0.7059 MB / 0.7177 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7141, allocations: 1.859 kB / 0.7177 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001704/0.7159, allocations: 490.4 kB / 0.7182 GB, free: 83.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.7162, allocations: 138.5 kB / 0.7183 GB, free: 83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007554/0.7237, allocations: 2.743 MB / 0.721 GB, free: 82.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7238, allocations: 3.906 kB / 0.721 GB, free: 82.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005565/0.7293, allocations: 1.885 MB / 0.7228 GB, free: 81.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.7304, allocations: 121.2 kB / 0.723 GB, free: 81.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.7353, allocations: 2.517 MB / 0.7254 GB, free: 80.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.736, allocations: 1.153 MB / 0.7265 GB, free: 79.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005376/0.7365, allocations: 115.9 kB / 0.7267 GB, free: 79.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.7368, allocations: 77.95 kB / 0.7267 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.7369, allocations: 0 / 0.7267 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.03841/0.7753, allocations: 27.64 MB / 0.7537 GB, free: 65.48 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)