Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1081/0.1081, allocations: 12.6 MB / 28.91 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.0012, allocations: 111.5 kB / 32.51 MB, free: 3.562 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 191.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4267/0.4267, allocations: 78.51 MB / 420 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 138.2 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1398, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.006884/0.1468, allocations: 5.984 MB / 0.6289 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.1508, allocations: 2.114 MB / 0.631 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.1513, allocations: 12 kB / 0.631 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.152, allocations: 238.1 kB / 0.6312 GB, free: 7.043 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001743/0.1538, allocations: 0.7965 MB / 0.632 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1551, allocations: 0.7108 MB / 0.6327 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.1569, allocations: 1.835 MB / 0.6345 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.1574, allocations: 301.3 kB / 0.6347 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009744/0.1584, allocations: 0.7006 MB / 0.6354 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.1593, allocations: 0.7936 MB / 0.6362 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.1595, allocations: 160 kB / 0.6364 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.16, allocations: 299.9 kB / 0.6366 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.1604, allocations: 358.8 kB / 0.637 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.1609, allocations: 0.6723 MB / 0.6376 GB, free: 420 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.1627, allocations: 1.916 MB / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1627, allocations: 0 / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1627, allocations: 7.938 kB / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1628, allocations: 3.938 kB / 0.6395 GB, free: 14.48 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007242/0.17, allocations: 2.267 MB / 0.6417 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.1701, allocations: 15.98 kB / 0.6418 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.1736, allocations: 0.5535 MB / 0.6423 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.1756, allocations: 1.018 MB / 0.6433 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.176, allocations: 239.5 kB / 0.6435 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.1761, allocations: 71.94 kB / 0.6436 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.1781, allocations: 0.9718 MB / 0.6445 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1782, allocations: 0 / 0.6445 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.1782, allocations: 24 kB / 0.6446 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1783, allocations: 16 kB / 0.6446 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1803, allocations: 0.907 MB / 0.6455 GB, free: 8.234 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.006346/0.1866, allocations: 3.635 MB / 0.649 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.2008, allocations: 3.293 MB / 0.6522 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.2023, allocations: 0.5799 MB / 0.6528 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2025, allocations: 12.66 kB / 0.6528 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.2025, allocations: 39.22 kB / 0.6528 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/0.2025, allocations: 0 / 0.6528 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01455/0.2171, allocations: 3.889 MB / 0.6566 GB, free: 12.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.2172, allocations: 111.5 kB / 0.6567 GB, free: 12.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.2197, allocations: 1.173 MB / 0.6579 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.2199, allocations: 41.7 kB / 0.6579 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.2203, allocations: 472.5 kB / 0.6584 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.2207, allocations: 280 kB / 0.6586 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.2212, allocations: 202.8 kB / 0.6588 GB, free: 10.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2214, allocations: 349.9 kB / 0.6592 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.2229, allocations: 0.658 MB / 0.6598 GB, free: 9.195 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.2245, allocations: 0.7829 MB / 0.6606 GB, free: 8.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.2274, allocations: 1.355 MB / 0.6619 GB, free: 7.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.2274, allocations: 0 / 0.6619 GB, free: 7.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008508/0.2359, allocations: 2.762 MB / 0.6646 GB, free: 4.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2359, allocations: 6.969 kB / 0.6646 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.236, allocations: 7.938 kB / 0.6646 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004586/0.2406, allocations: 1.048 MB / 0.6656 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.2419, allocations: 219.7 kB / 0.6658 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.2534, allocations: 5.083 MB / 0.6708 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.2556, allocations: 171 kB / 0.671 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.2559, allocations: 43.86 kB / 0.671 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002214/0.2582, allocations: 0.8359 MB / 0.6718 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001691/0.2599, allocations: 0.7518 MB / 0.6726 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002948/0.2628, allocations: 1.312 MB / 0.6738 GB, free: 10.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-05/0.2629, allocations: 4 kB / 0.6739 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008992/0.2719, allocations: 2.707 MB / 0.6765 GB, free: 7.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2719, allocations: 8 kB / 0.6765 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2719, allocations: 4 kB / 0.6765 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/0.2764, allocations: 1.043 MB / 0.6775 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.2778, allocations: 219.6 kB / 0.6777 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.2896, allocations: 5.076 MB / 0.6827 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.2916, allocations: 159.1 kB / 0.6828 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.2919, allocations: 35.98 kB / 0.6829 GB, free: 1.133 MB / 494.1 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.0005534/0.2925, allocations: 232.1 kB / 0.6831 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.2929, allocations: 114.6 kB / 0.6832 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/0.3005, allocations: 2.279 MB / 0.6854 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/0.3006, allocations: 3.984 kB / 0.6854 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3006, allocations: 4 kB / 0.6854 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.3012, allocations: 227.5 kB / 0.6857 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.3016, allocations: 20 kB / 0.6857 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.3031, allocations: 103.9 kB / 0.6858 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.3036, allocations: 200.3 kB / 0.686 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006242/0.3099, allocations: 1.76 MB / 0.6877 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004386/0.3143, allocations: 2 MB / 0.6896 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001236/0.3156, allocations: 0.5205 MB / 0.6901 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001869/0.3175, allocations: 0.8233 MB / 0.691 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of Backend: time 7.92e-07/0.3175, allocations: 0 / 0.691 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009604/0.3271, allocations: 3.227 MB / 0.6941 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004156/0.3313, allocations: 2.638 MB / 0.6967 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.3236/0.6549, allocations: 28.38 MB / 0.7244 GB, free: 84.16 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)