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.08537/0.08537, 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.001209/0.001209, allocations: 107.5 kB / 32.51 MB, free: 3.551 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.602/1.602, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001813/0.001813, allocations: 184.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.5192/0.5192, allocations: 78.51 MB / 420 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.002963/0.002963, allocations: 147.2 kB / 0.5565 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1492, allocations: 68.13 MB / 0.6231 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008187/0.1575, allocations: 7.032 MB / 0.6299 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005194/0.1627, allocations: 2.09 MB / 0.632 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.1644, allocations: 15.94 kB / 0.632 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1655, allocations: 257.8 kB / 0.6322 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.1682, allocations: 0.8354 MB / 0.6331 GB, free: 5.164 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.001824/0.1701, allocations: 0.7515 MB / 0.6338 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.1726, allocations: 1.729 MB / 0.6355 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.1732, allocations: 407.6 kB / 0.6359 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1743, allocations: 0.7041 MB / 0.6365 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.1753, allocations: 0.84 MB / 0.6374 GB, free: 0.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.1755, allocations: 132 kB / 0.6375 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.1761, allocations: 263.9 kB / 0.6377 GB, free: 328 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.1765, allocations: 346.6 kB / 0.6381 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.1772, allocations: 0.7263 MB / 0.6388 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.1797, allocations: 1.824 MB / 0.6406 GB, free: 13.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1798, allocations: 0 / 0.6406 GB, free: 13.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1798, allocations: 0 / 0.6406 GB, free: 13.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.1799, allocations: 4 kB / 0.6406 GB, free: 13.41 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.009346/0.1892, allocations: 2.889 MB / 0.6434 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1893, allocations: 11.98 kB / 0.6434 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.1942, allocations: 0.8068 MB / 0.6442 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.1963, allocations: 0.9382 MB / 0.6451 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.1968, allocations: 327.6 kB / 0.6454 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.1971, allocations: 95.95 kB / 0.6455 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.2002, allocations: 1.295 MB / 0.6468 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2002, allocations: 0 / 0.6468 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.2003, allocations: 40 kB / 0.6468 GB, free: 6.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2004, allocations: 20 kB / 0.6468 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.2032, allocations: 1.202 MB / 0.648 GB, free: 5.605 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.008516/0.2118, allocations: 4.165 MB / 0.6521 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.2153, allocations: 1.776 MB / 0.6538 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.2171, allocations: 0.8562 MB / 0.6546 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.2173, allocations: 24.97 kB / 0.6547 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00203/0.2193, allocations: 0.9581 MB / 0.6556 GB, free: 13.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 5.41e-06/0.2194, allocations: 4 kB / 0.6556 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03259/0.252, allocations: 7.894 MB / 0.6633 GB, free: 5.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.2521, allocations: 115.8 kB / 0.6634 GB, free: 5.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.2543, allocations: 1.041 MB / 0.6644 GB, free: 4.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.2546, allocations: 45.7 kB / 0.6645 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.2551, allocations: 0.5292 MB / 0.665 GB, free: 3.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006682/0.2558, allocations: 408.5 kB / 0.6654 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.2566, allocations: 247.5 kB / 0.6656 GB, free: 3.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.2568, allocations: 357.9 kB / 0.666 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.2587, allocations: 0.7847 MB / 0.6667 GB, free: 1.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.2606, allocations: 0.9521 MB / 0.6677 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02246/0.2831, allocations: 5.489 MB / 0.673 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.2832, allocations: 4 kB / 0.673 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01526/0.2984, allocations: 4.472 MB / 0.6774 GB, free: 6.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.2986, allocations: 63.39 kB / 0.6775 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2986, allocations: 4 kB / 0.6775 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.3045, allocations: 1.738 MB / 0.6792 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.306, allocations: 279.6 kB / 0.6794 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.3272, allocations: 9.035 MB / 0.6883 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.3292, allocations: 215 kB / 0.6885 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/0.3295, allocations: 47.98 kB / 0.6885 GB, free: 11.38 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.0008218/0.3303, allocations: 299.7 kB / 0.6888 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.3307, allocations: 135.1 kB / 0.6889 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/0.3456, allocations: 4.405 MB / 0.6932 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/0.3457, allocations: 7.969 kB / 0.6932 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3457, allocations: 0 / 0.6932 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.3463, allocations: 231.9 kB / 0.6934 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/0.3468, allocations: 19.94 kB / 0.6935 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.3485, allocations: 143.8 kB / 0.6936 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/0.3501, allocations: 0.5041 MB / 0.6941 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008623/0.3588, allocations: 2.644 MB / 0.6967 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005891/0.3647, allocations: 2.646 MB / 0.6993 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/0.3664, allocations: 0.6831 MB / 0.6999 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001416/0.3678, allocations: 0.7084 MB / 0.7006 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Backend: time 9.51e-07/0.3679, allocations: 4 kB / 0.7006 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006729/0.3746, allocations: 2.193 MB / 0.7028 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004319/0.3789, allocations: 3.097 MB / 0.7058 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of Templates: time 0.3426/0.7215, allocations: 25.27 MB / 0.7305 GB, free: 81.29 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)