Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 114 kB / 16.42 MB, free: 5.949 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.327/1.327, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001424/0.001424, allocations: 188.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5049/0.5049, allocations: 91.91 MB / 432.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 78.62 kB / 0.5734 GB, free: 33.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1391, allocations: 71.28 MB / 0.643 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.005605/0.1447, allocations: 5.259 MB / 0.6481 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1482, allocations: 1.751 MB / 0.6498 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.149, allocations: 8 kB / 0.6499 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.1496, allocations: 174.5 kB / 0.65 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.1517, allocations: 0.672 MB / 0.6507 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1528, allocations: 0.5057 MB / 0.6512 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.1544, allocations: 1.211 MB / 0.6524 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.1548, allocations: 234.4 kB / 0.6526 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.1556, allocations: 0.4903 MB / 0.6531 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007023/0.1563, allocations: 0.5991 MB / 0.6536 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1565, allocations: 112 kB / 0.6537 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.1569, allocations: 251.9 kB / 0.654 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1571, allocations: 255 kB / 0.6542 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.1575, allocations: 0.5129 MB / 0.6547 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1589, allocations: 1.401 MB / 0.6561 GB, free: 6.062 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1589, allocations: 0 / 0.6561 GB, free: 6.062 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1589, allocations: 0 / 0.6561 GB, free: 6.062 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1589, allocations: 3.938 kB / 0.6561 GB, free: 6.059 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005261/0.1642, allocations: 1.876 MB / 0.6579 GB, free: 4.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1642, allocations: 8.031 kB / 0.6579 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/0.1676, allocations: 0.5349 MB / 0.6585 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1688, allocations: 0.6982 MB / 0.6591 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.1689, allocations: 142.4 kB / 0.6593 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1691, allocations: 59.95 kB / 0.6593 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.1706, allocations: 0.7914 MB / 0.6601 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1706, allocations: 0 / 0.6601 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.1707, allocations: 20 kB / 0.6601 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1707, allocations: 12 kB / 0.6601 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1721, allocations: 0.6961 MB / 0.6608 GB, free: 1.102 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.004744/0.1768, allocations: 2.886 MB / 0.6636 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.189, allocations: 2.942 MB / 0.6665 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.1901, allocations: 490.3 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1902, allocations: 20.53 kB / 0.667 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1902, allocations: 43.06 kB / 0.667 GB, free: 10.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 3.466e-06/0.1902, allocations: 3.938 kB / 0.667 GB, free: 10.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=64): time 0.0122/0.2024, allocations: 3.567 MB / 0.6705 GB, free: 6.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2025, allocations: 85.67 kB / 0.6706 GB, free: 6.797 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2036, allocations: 0.79 MB / 0.6714 GB, free: 5.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.2037, allocations: 37.7 kB / 0.6714 GB, free: 5.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.204, allocations: 381 kB / 0.6718 GB, free: 5.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.2043, allocations: 253.8 kB / 0.672 GB, free: 5.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.2046, allocations: 186.6 kB / 0.6722 GB, free: 5.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2048, allocations: 349.9 kB / 0.6725 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.2059, allocations: 0.5514 MB / 0.6731 GB, free: 4.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.207, allocations: 0.6625 MB / 0.6737 GB, free: 3.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.2092, allocations: 1.147 MB / 0.6748 GB, free: 2.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.2092, allocations: 0 / 0.6748 GB, free: 2.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007472/0.2167, allocations: 2.517 MB / 0.6773 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.2167, allocations: 8 kB / 0.6773 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2167, allocations: 0 / 0.6773 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004072/0.2208, allocations: 1.042 MB / 0.6783 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.2217, allocations: 175.7 kB / 0.6785 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.232, allocations: 5.079 MB / 0.6835 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.2335, allocations: 127.3 kB / 0.6836 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.2336, allocations: 35.98 kB / 0.6836 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.2349, allocations: 0.6932 MB / 0.6843 GB, free: 8.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.236, allocations: 0.643 MB / 0.6849 GB, free: 7.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002022/0.238, allocations: 1.131 MB / 0.686 GB, free: 6.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.238, allocations: 4 kB / 0.686 GB, free: 6.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007083/0.2451, allocations: 2.486 MB / 0.6885 GB, free: 4.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2451, allocations: 5.562 kB / 0.6885 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2452, allocations: 4 kB / 0.6885 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.2491, allocations: 1.054 MB / 0.6895 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.2499, allocations: 163.8 kB / 0.6896 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009971/0.2599, allocations: 5.075 MB / 0.6946 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.2612, allocations: 111.5 kB / 0.6947 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.2613, allocations: 35.98 kB / 0.6947 GB, free: 13.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.2616, allocations: 236.5 kB / 0.695 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.2617, allocations: 95.38 kB / 0.6951 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005849/0.2676, allocations: 2.039 MB / 0.6971 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2676, allocations: 3.984 kB / 0.6971 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2676, allocations: 0 / 0.6971 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.2678, allocations: 188.3 kB / 0.6972 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.2679, allocations: 12 kB / 0.6972 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.2687, allocations: 59.92 kB / 0.6973 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/0.2691, allocations: 188.3 kB / 0.6975 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004524/0.2737, allocations: 1.497 MB / 0.6989 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002874/0.2765, allocations: 1.601 MB / 0.7005 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008198/0.2774, allocations: 412.3 kB / 0.7009 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000657/0.278, allocations: 0.5381 MB / 0.7014 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of Backend: time 8.31e-07/0.278, allocations: 0 / 0.7014 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007504/0.2856, allocations: 2.987 MB / 0.7043 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00265/0.2882, allocations: 2.23 MB / 0.7065 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.03683/0.3251, allocations: 23.94 MB / 0.7299 GB, free: 9.359 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)