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.001368/0.001368, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.333/1.333, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001273/0.001274, allocations: 200.3 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4987/0.4987, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 72.91 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 71.29 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.005875/0.1226, allocations: 5.254 MB / 0.6481 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.1259, allocations: 1.751 MB / 0.6498 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.1263, allocations: 4 kB / 0.6498 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.1267, allocations: 170.5 kB / 0.65 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1283, allocations: 0.6979 MB / 0.6507 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.1293, allocations: 0.4967 MB / 0.6512 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.1304, allocations: 1.207 MB / 0.6523 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.1308, allocations: 242.4 kB / 0.6526 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.1313, allocations: 486.1 kB / 0.653 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.132, allocations: 0.6069 MB / 0.6536 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1322, allocations: 112 kB / 0.6537 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.1326, allocations: 255.8 kB / 0.654 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1328, allocations: 247.1 kB / 0.6542 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.1333, allocations: 0.5168 MB / 0.6547 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.1346, allocations: 1.398 MB / 0.6561 GB, free: 6.125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1346, allocations: 0 / 0.6561 GB, free: 6.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1346, allocations: 3.938 kB / 0.6561 GB, free: 6.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1346, allocations: 0 / 0.6561 GB, free: 6.121 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.005816/0.1404, allocations: 1.846 MB / 0.6579 GB, free: 4.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1405, allocations: 8.031 kB / 0.6579 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.144, allocations: 0.5304 MB / 0.6584 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1451, allocations: 0.6898 MB / 0.6591 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.1453, allocations: 146.3 kB / 0.6592 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1454, allocations: 67.89 kB / 0.6593 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.147, allocations: 0.7798 MB / 0.6601 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.147, allocations: 0 / 0.6601 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.1471, allocations: 20 kB / 0.6601 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1471, allocations: 15.94 kB / 0.6601 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1485, allocations: 0.6883 MB / 0.6608 GB, free: 1.211 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.004841/0.1533, allocations: 2.894 MB / 0.6636 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.1666, allocations: 2.942 MB / 0.6665 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.1677, allocations: 494.3 kB / 0.6669 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/0.1678, allocations: 8.562 kB / 0.6669 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1678, allocations: 47.06 kB / 0.667 GB, free: 10.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 3.256e-06/0.1678, allocations: 0 / 0.667 GB, free: 10.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=64): time 0.01298/0.1808, allocations: 3.562 MB / 0.6705 GB, free: 7.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1809, allocations: 85.67 kB / 0.6706 GB, free: 6.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.182, allocations: 0.7937 MB / 0.6713 GB, free: 6.102 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.1821, allocations: 41.7 kB / 0.6714 GB, free: 6.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.1824, allocations: 368.6 kB / 0.6717 GB, free: 5.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.1826, allocations: 236.7 kB / 0.6719 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.183, allocations: 186.4 kB / 0.6721 GB, free: 5.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1831, allocations: 353.9 kB / 0.6725 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.1842, allocations: 0.5514 MB / 0.673 GB, free: 4.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.1854, allocations: 0.6664 MB / 0.6737 GB, free: 3.664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.1877, allocations: 1.139 MB / 0.6748 GB, free: 2.504 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1877, allocations: 4 kB / 0.6748 GB, free: 2.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007738/0.1954, allocations: 2.505 MB / 0.6772 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1955, allocations: 4 kB / 0.6772 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1955, allocations: 4 kB / 0.6772 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/0.1999, allocations: 1.05 MB / 0.6782 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.2009, allocations: 175.7 kB / 0.6784 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.2118, allocations: 5.069 MB / 0.6834 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.2132, allocations: 127 kB / 0.6835 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.2134, allocations: 39.98 kB / 0.6835 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001384/0.2148, allocations: 0.6893 MB / 0.6842 GB, free: 8.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/0.2159, allocations: 0.6469 MB / 0.6848 GB, free: 7.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00212/0.2181, allocations: 1.127 MB / 0.6859 GB, free: 6.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.2181, allocations: 0 / 0.6859 GB, free: 6.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007623/0.2257, allocations: 2.481 MB / 0.6884 GB, free: 4.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2258, allocations: 8 kB / 0.6884 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2258, allocations: 3.938 kB / 0.6884 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/0.2301, allocations: 1.05 MB / 0.6894 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.2311, allocations: 163.8 kB / 0.6895 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.2419, allocations: 5.073 MB / 0.6945 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2433, allocations: 111.2 kB / 0.6946 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.2435, allocations: 35.98 kB / 0.6946 GB, free: 13.75 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.0003215/0.2438, allocations: 236.4 kB / 0.6949 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.244, allocations: 82.97 kB / 0.6949 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006419/0.2504, allocations: 2.039 MB / 0.6969 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.2505, allocations: 3.984 kB / 0.6969 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2505, allocations: 4 kB / 0.6969 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.2508, allocations: 187.8 kB / 0.6971 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.251, allocations: 12 kB / 0.6971 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.2518, allocations: 59.92 kB / 0.6972 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/0.2523, allocations: 180.3 kB / 0.6974 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004986/0.2573, allocations: 1.501 MB / 0.6988 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003097/0.2604, allocations: 1.601 MB / 0.7004 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008706/0.2613, allocations: 404.3 kB / 0.7008 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007197/0.262, allocations: 0.5381 MB / 0.7013 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of Backend: time 2.094e-06/0.262, allocations: 0 / 0.7013 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008136/0.2702, allocations: 2.985 MB / 0.7042 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002778/0.273, allocations: 2.194 MB / 0.7064 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.03547/0.3084, allocations: 23.93 MB / 0.7297 GB, free: 9.574 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)