Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD") translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 108.4 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 196.4 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.506/0.506, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 73.59 kB / 0.5734 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 71.29 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.AKD.System.AKD): time 0.0217/0.1272, allocations: 24.03 MB / 0.6665 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1416, allocations: 7.817 MB / 0.6741 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.1463, allocations: 75.69 kB / 0.6742 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.1502, allocations: 1.29 MB / 0.6754 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008748/0.159, allocations: 3.029 MB / 0.6784 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.1652, allocations: 3.048 MB / 0.6814 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.1775, allocations: 9.577 MB / 0.6907 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/0.181, allocations: 2.28 MB / 0.6929 GB, free: 220 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.1859, allocations: 3.608 MB / 0.6965 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/0.1913, allocations: 4.26 MB / 0.7006 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.1934, allocations: 0.9141 MB / 0.7015 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.1961, allocations: 1.199 MB / 0.7027 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.1984, allocations: 2.067 MB / 0.7047 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.2036, allocations: 3.766 MB / 0.7084 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.012/0.2156, allocations: 10.67 MB / 0.7188 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2156, allocations: 0 / 0.7188 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2156, allocations: 0 / 0.7188 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000286/0.2159, allocations: 3.938 kB / 0.7188 GB, free: 5.633 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 868 * Number of variables: 868 Notification: Performance of Generate backend data structure: time 0.04638/0.2623, allocations: 12.03 MB / 0.7306 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2624, allocations: 12.03 kB / 0.7306 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/0.2697, allocations: 1.343 MB / 0.7319 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.2816, allocations: 4.654 MB / 0.7364 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009948/0.2826, allocations: 0.9262 MB / 0.7373 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.2842, allocations: 447.6 kB / 0.7377 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.2959, allocations: 4.586 MB / 0.7422 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.965e-05/0.296, allocations: 7.938 kB / 0.7422 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006719/0.2967, allocations: 140 kB / 0.7424 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.2968, allocations: 84 kB / 0.7424 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.307, allocations: 4.293 MB / 0.7466 GB, free: 8.684 MB / 0.545 GB 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.03849/0.3455, allocations: 19.26 MB / 0.7655 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2706/0.6161, allocations: 6.323 MB / 0.7716 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005227/0.6213, allocations: 2.548 MB / 0.7741 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.6219, allocations: 0.7696 MB / 0.7749 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005114/0.627, allocations: 2.912 MB / 0.7777 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=384): time 5.891e-06/0.627, allocations: 0 / 0.7777 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=392): time 0.09389/0.7209, allocations: 30.6 MB / 0.8076 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.7211, allocations: 354.9 kB / 0.8079 GB, free: 90.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009734/0.7308, allocations: 6.302 MB / 0.8141 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009957/0.7318, allocations: 125.7 kB / 0.8142 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.7333, allocations: 2.264 MB / 0.8164 GB, free: 83.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.7348, allocations: 1.471 MB / 0.8179 GB, free: 81.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/0.7369, allocations: 1.534 MB / 0.8194 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.737, allocations: 305.1 kB / 0.8196 GB, free: 79.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007133/0.7441, allocations: 3.868 MB / 0.8234 GB, free: 75.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007519/0.7516, allocations: 4.475 MB / 0.8278 GB, free: 71.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.7643, allocations: 7.508 MB / 0.8351 GB, free: 63.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.7643, allocations: 0 / 0.8351 GB, free: 63.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1010) (initialization): time 0.02091/0.7853, allocations: 11.31 MB / 0.8462 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.7853, allocations: 71.39 kB / 0.8462 GB, free: 52.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/0.7854, allocations: 6.234 kB / 0.8462 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01622/0.8016, allocations: 5.042 MB / 0.8512 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007556/0.8092, allocations: 1.607 MB / 0.8527 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.825, allocations: 9.51 MB / 0.862 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00879/0.8338, allocations: 0.6594 MB / 0.8627 GB, free: 35.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/0.8349, allocations: 255.9 kB / 0.8629 GB, free: 35.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009047/0.844, allocations: 4.721 MB / 0.8675 GB, free: 30.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007301/0.8513, allocations: 4.412 MB / 0.8718 GB, free: 25.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01273/0.864, allocations: 7.423 MB / 0.8791 GB, free: 18.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.257e-05/0.8641, allocations: 0 / 0.8791 GB, free: 18.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1010) (initialization_lambda0): time 0.02135/0.8854, allocations: 11.1 MB / 0.8899 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.8855, allocations: 69.08 kB / 0.89 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.8855, allocations: 11.98 kB / 0.89 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/0.9017, allocations: 5.001 MB / 0.8949 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007766/0.9095, allocations: 1.615 MB / 0.8965 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.9268, allocations: 9.31 MB / 0.9056 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009037/0.9358, allocations: 0.6566 MB / 0.9062 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/0.9368, allocations: 251.9 kB / 0.9064 GB, free: 6.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 (gen58567.iEEEST.bypass_filter2,gen58567.iEEEST.booleanConstant.k,gen58567.iEEEST.swith_filter2.u2,gen58567.iEEEST.and1.u[1],gen58567.iEEEST.booleanConstant.y,gen58567.iEEEST.bypass_filter1,gen58567.iEEEST.booleanConstant1.k,gen58567.iEEEST.swith_filter1.u2,gen58567.iEEEST.and1.u[2],gen58567.iEEEST.swith_filter4.u2,gen58567.iEEEST.booleanConstant1.y,gen58566.iEEEST.bypass_filter2,gen58566.iEEEST.booleanConstant.k,gen58566.iEEEST.swith_filter2.u2,gen58566.iEEEST.and1.u[1],gen58566.iEEEST.booleanConstant.y,gen58566.iEEEST.bypass_filter1,gen58566.iEEEST.booleanConstant1.k,gen58566.iEEEST.swith_filter1.u2,gen58566.iEEEST.and1.u[2],gen58566.iEEEST.swith_filter4.u2,gen58566.iEEEST.booleanConstant1.y,gen58567.iEEEST.and1.y,gen58566.iEEEST.and1.y,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,gen58566.iEEET2_1.rotatingExciter.sISO.local_reset,gen58566.hYGOV.Position_Limiter.local_reset,gen58566.hYGOV.q.local_reset,gen58567.iEEET2_1.rotatingExciter.sISO.local_reset,gen58567.hYGOV.Position_Limiter.local_reset,gen58567.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 849 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,6), (44,87)} Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.9382, allocations: 0.4975 MB / 0.9069 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.9395, allocations: 0.5823 MB / 0.9075 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02931/0.9688, allocations: 9.838 MB / 0.9171 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.995e-05/0.969, allocations: 23.92 kB / 0.9171 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.969, allocations: 3.938 kB / 0.9171 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/0.9715, allocations: 0.8135 MB / 0.9179 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/0.9731, allocations: 107.8 kB / 0.918 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005271/0.9784, allocations: 409.5 kB / 0.9184 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002223/0.9807, allocations: 0.8104 MB / 0.9192 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02522/1.006, allocations: 8.471 MB / 0.9275 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01706/1.023, allocations: 8.955 MB / 0.9362 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004748/1.028, allocations: 2.602 MB / 0.9388 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009023/1.037, allocations: 4.181 MB / 0.9429 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of Backend: time 8.62e-07/1.037, allocations: 0 / 0.9429 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.04048/1.077, allocations: 14.42 MB / 0.9569 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of SimCode: time 0.02063/1.098, allocations: 13.1 MB / 0.9697 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of Templates: time 0.4852/1.583, allocations: 132.6 MB / 1.099 GB, free: 203.7 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.sim & ./OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)