Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008594/0.0008595, allocations: 176.7 kB / 16.08 MB, free: 5.727 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.265/1.265, allocations: 222.9 MB / 239.7 MB, free: 10.16 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.0007921/0.0007921, allocations: 93.05 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4493/0.4493, allocations: 78.42 MB / 419.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003622, allocations: 8.219 kB / 499.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2538, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.004907/0.2587, allocations: 6.185 MB / 0.5606 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.262, allocations: 2.176 MB / 0.5627 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.2625, allocations: 12 kB / 0.5627 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.2631, allocations: 190.8 kB / 0.5629 GB, free: 11.64 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.0014/0.2645, allocations: 0.6924 MB / 0.5635 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2655, allocations: 0.6509 MB / 0.5642 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2666, allocations: 1.694 MB / 0.5658 GB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.2669, allocations: 270.2 kB / 0.5661 GB, free: 8.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.2674, allocations: 0.5522 MB / 0.5666 GB, free: 7.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.268, allocations: 0.6882 MB / 0.5673 GB, free: 7.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.2681, allocations: 63.94 kB / 0.5674 GB, free: 7.016 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.2685, allocations: 187.9 kB / 0.5675 GB, free: 6.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2687, allocations: 258.8 kB / 0.5678 GB, free: 6.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.269, allocations: 0.5668 MB / 0.5683 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.27, allocations: 1.771 MB / 0.5701 GB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.27, allocations: 4 kB / 0.5701 GB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.27, allocations: 0 / 0.5701 GB, free: 4.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2701, allocations: 0 / 0.5701 GB, free: 4.227 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00569/0.2758, allocations: 2.025 MB / 0.5721 GB, free: 2.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2758, allocations: 8.031 kB / 0.5721 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.2792, allocations: 0.5575 MB / 0.5726 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.2808, allocations: 1.003 MB / 0.5736 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.2811, allocations: 235.5 kB / 0.5738 GB, free: 264 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.2812, allocations: 68 kB / 0.5739 GB, free: 196 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.2831, allocations: 0.9718 MB / 0.5748 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2831, allocations: 0 / 0.5748 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.2832, allocations: 24 kB / 0.5748 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.2832, allocations: 16 kB / 0.5749 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.2852, allocations: 0.9148 MB / 0.5758 GB, free: 14.25 MB / 394.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.006258/0.2915, allocations: 3.65 MB / 0.5793 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.3047, allocations: 3.283 MB / 0.5825 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3062, allocations: 0.5845 MB / 0.5831 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3063, allocations: 8.656 kB / 0.5831 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3063, allocations: 39.22 kB / 0.5831 GB, free: 6.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 2.594e-06/0.3063, allocations: 0 / 0.5831 GB, free: 6.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01337/0.3197, allocations: 3.889 MB / 0.5869 GB, free: 2.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3198, allocations: 115.5 kB / 0.5871 GB, free: 2.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.322, allocations: 1.157 MB / 0.5882 GB, free: 1.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.3222, allocations: 45.7 kB / 0.5882 GB, free: 1.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.3226, allocations: 472.5 kB / 0.5887 GB, free: 0.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.3229, allocations: 276 kB / 0.5889 GB, free: 444 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.3231, allocations: 109.6 kB / 0.589 GB, free: 328 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3233, allocations: 345.9 kB / 0.5894 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.3247, allocations: 0.6507 MB / 0.59 GB, free: 15.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.3262, allocations: 0.7791 MB / 0.5908 GB, free: 14.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.3289, allocations: 1.359 MB / 0.5921 GB, free: 13.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3289, allocations: 0 / 0.5921 GB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008092/0.337, allocations: 2.765 MB / 0.5948 GB, free: 10.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.3371, allocations: 141.9 kB / 0.5949 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3372, allocations: 4 kB / 0.5949 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/0.3414, allocations: 1.05 MB / 0.596 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3426, allocations: 227.6 kB / 0.5962 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009991/0.3526, allocations: 4.711 MB / 0.6008 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.3544, allocations: 175 kB / 0.6009 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.3546, allocations: 35.98 kB / 0.601 GB, free: 3.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3547, allocations: 4 kB / 0.601 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0077/0.3624, allocations: 2.59 MB / 0.6035 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3624, allocations: 4 kB / 0.6035 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00412/0.3665, allocations: 1.046 MB / 0.6045 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3678, allocations: 211.7 kB / 0.6047 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3778, allocations: 4.717 MB / 0.6093 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.3795, allocations: 155.1 kB / 0.6095 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.3798, allocations: 39.98 kB / 0.6095 GB, free: 10.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (119): * Single equations (assignments): 116 * 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.0007802/0.3806, allocations: 344.9 kB / 0.6099 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.3809, allocations: 114.6 kB / 0.61 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006719/0.3877, allocations: 2.279 MB / 0.6122 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3877, allocations: 3.984 kB / 0.6122 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3877, allocations: 0 / 0.6122 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.388, allocations: 227.5 kB / 0.6124 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.3882, allocations: 19.98 kB / 0.6124 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.3894, allocations: 103.9 kB / 0.6125 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004439/0.3899, allocations: 192.2 kB / 0.6127 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005272/0.3952, allocations: 1.772 MB / 0.6145 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003872/0.3991, allocations: 1.996 MB / 0.6164 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001097/0.4002, allocations: 0.5205 MB / 0.6169 GB, free: 3.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.4018, allocations: 0.8153 MB / 0.6177 GB, free: 2.469 MB / 426.7 MB Notification: Performance of Backend: time 6.42e-07/0.4018, allocations: 0 / 0.6177 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008477/0.4103, allocations: 3.239 MB / 0.6209 GB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 0.003781/0.4141, allocations: 3.008 MB / 0.6238 GB, free: 12.05 MB / 442.7 MB Notification: Performance of Templates: time 0.03742/0.4515, allocations: 25.89 MB / 0.6491 GB, free: 2.223 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)