Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008875/0.0008876, allocations: 170.3 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 239.7 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007425/0.0007426, allocations: 100.2 kB / 290.5 MB, free: 11.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4329/0.4329, allocations: 78.42 MB / 419.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003509, allocations: 15.94 kB / 499.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2711, allocations: 68.73 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004509/0.2756, allocations: 5.519 MB / 0.5599 GB, free: 14.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2784, allocations: 1.79 MB / 0.5616 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.2791, allocations: 8 kB / 0.5617 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.2796, allocations: 123.2 kB / 0.5618 GB, free: 12.77 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001503/0.2811, allocations: 0.5832 MB / 0.5623 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.282, allocations: 479 kB / 0.5628 GB, free: 11.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009797/0.283, allocations: 1.129 MB / 0.5639 GB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.2833, allocations: 210.8 kB / 0.5641 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.2839, allocations: 418 kB / 0.5645 GB, free: 9.949 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.2843, allocations: 0.5288 MB / 0.565 GB, free: 9.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.2844, allocations: 52 kB / 0.5651 GB, free: 9.367 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2847, allocations: 183.8 kB / 0.5652 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2849, allocations: 195 kB / 0.5654 GB, free: 8.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.2852, allocations: 445.2 kB / 0.5658 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.286, allocations: 1.298 MB / 0.5671 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.286, allocations: 0 / 0.5671 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.286, allocations: 0 / 0.5671 GB, free: 7.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.286, allocations: 0 / 0.5671 GB, free: 7.258 MB / 378.7 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.004669/0.2907, allocations: 1.675 MB / 0.5688 GB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2908, allocations: 8.031 kB / 0.5688 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.294, allocations: 0.5265 MB / 0.5693 GB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.2949, allocations: 0.6975 MB / 0.57 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.295, allocations: 138.4 kB / 0.5701 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2951, allocations: 60 kB / 0.5701 GB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2964, allocations: 0.7876 MB / 0.5709 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2964, allocations: 0 / 0.5709 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.2965, allocations: 20 kB / 0.5709 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.2965, allocations: 19.94 kB / 0.571 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2977, allocations: 0.6883 MB / 0.5716 GB, free: 2.52 MB / 378.7 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.004148/0.3018, allocations: 2.897 MB / 0.5745 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.3144, allocations: 2.95 MB / 0.5773 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.3155, allocations: 496.5 kB / 0.5778 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/0.3156, allocations: 16.45 kB / 0.5778 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3157, allocations: 35.12 kB / 0.5779 GB, free: 11.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 2.846e-06/0.3157, allocations: 0 / 0.5779 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.0122/0.3279, allocations: 3.562 MB / 0.5813 GB, free: 8.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.328, allocations: 89.67 kB / 0.5814 GB, free: 8.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.329, allocations: 0.7938 MB / 0.5822 GB, free: 7.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.3292, allocations: 37.7 kB / 0.5822 GB, free: 7.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.3294, allocations: 372.5 kB / 0.5826 GB, free: 6.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.3297, allocations: 248.5 kB / 0.5828 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.3299, allocations: 93.66 kB / 0.5829 GB, free: 6.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.33, allocations: 345.9 kB / 0.5832 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3311, allocations: 0.5408 MB / 0.5838 GB, free: 5.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3322, allocations: 0.6625 MB / 0.5844 GB, free: 5.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.3343, allocations: 1.147 MB / 0.5855 GB, free: 3.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3344, allocations: 4 kB / 0.5855 GB, free: 3.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007535/0.3419, allocations: 2.512 MB / 0.588 GB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/0.342, allocations: 145.5 kB / 0.5881 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.342, allocations: 7.938 kB / 0.5881 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/0.3462, allocations: 1.04 MB / 0.5892 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.3471, allocations: 167.8 kB / 0.5893 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/0.357, allocations: 4.739 MB / 0.5939 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3582, allocations: 115.2 kB / 0.5941 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.3583, allocations: 35.98 kB / 0.5941 GB, free: 10.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.3583, allocations: 4 kB / 0.5941 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006963/0.3653, allocations: 2.383 MB / 0.5964 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3653, allocations: 7.938 kB / 0.5964 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/0.3694, allocations: 1.038 MB / 0.5974 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.3703, allocations: 171.7 kB / 0.5976 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/0.3799, allocations: 4.71 MB / 0.6022 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.381, allocations: 107.2 kB / 0.6023 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.3811, allocations: 31.98 kB / 0.6023 GB, free: 2.352 MB / 410.7 MB 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.000422/0.3815, allocations: 300.9 kB / 0.6026 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.3817, allocations: 82.97 kB / 0.6027 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005947/0.3876, allocations: 2.039 MB / 0.6047 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3876, allocations: 3.984 kB / 0.6047 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3877, allocations: 3.984 kB / 0.6047 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3879, allocations: 183.9 kB / 0.6049 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.388, allocations: 12 kB / 0.6049 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.3888, allocations: 59.94 kB / 0.6049 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/0.3892, allocations: 180.2 kB / 0.6051 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004383/0.3936, allocations: 1.489 MB / 0.6066 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00284/0.3964, allocations: 1.608 MB / 0.6081 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008307/0.3973, allocations: 408.2 kB / 0.6085 GB, free: 11.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007141/0.398, allocations: 0.5381 MB / 0.6091 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Backend: time 4.7e-07/0.398, allocations: 0 / 0.6091 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007402/0.4054, allocations: 2.997 MB / 0.612 GB, free: 8.27 MB / 426.7 MB Notification: Performance of SimCode: time 0.002722/0.4081, allocations: 2.482 MB / 0.6144 GB, free: 5.738 MB / 426.7 MB Notification: Performance of Templates: time 0.03112/0.4393, allocations: 21.79 MB / 0.6357 GB, free: 15.97 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)