Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 106.9 kB / 16.41 MB, free: 6.387 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.367/1.367, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001396/0.001396, allocations: 188.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4459/0.4459, allocations: 78.54 MB / 419.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 79.88 kB / 0.5543 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2873, allocations: 68.17 MB / 0.6208 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.004974/0.2923, allocations: 5.94 MB / 0.6266 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.2951, allocations: 2.133 MB / 0.6287 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.2955, allocations: 8 kB / 0.6287 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.296, allocations: 238.1 kB / 0.629 GB, free: 1.879 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001372/0.2974, allocations: 0.8098 MB / 0.6298 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.2984, allocations: 0.7162 MB / 0.6305 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2999, allocations: 1.827 MB / 0.6322 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.3003, allocations: 312.8 kB / 0.6325 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.3011, allocations: 0.6889 MB / 0.6332 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.302, allocations: 0.7975 MB / 0.634 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3022, allocations: 160 kB / 0.6341 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.3027, allocations: 299.8 kB / 0.6344 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.3031, allocations: 366.8 kB / 0.6348 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.3036, allocations: 0.6645 MB / 0.6354 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.3054, allocations: 1.924 MB / 0.6373 GB, free: 9.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3055, allocations: 4 kB / 0.6373 GB, free: 9.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3055, allocations: 4 kB / 0.6373 GB, free: 9.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.3055, allocations: 0 / 0.6373 GB, free: 9.297 MB / 446.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.006915/0.3124, allocations: 2.305 MB / 0.6396 GB, free: 6.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3125, allocations: 8.031 kB / 0.6396 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.3159, allocations: 0.5621 MB / 0.6401 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.3178, allocations: 1.011 MB / 0.6411 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.3181, allocations: 243.5 kB / 0.6413 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3183, allocations: 71.95 kB / 0.6414 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.3202, allocations: 0.9641 MB / 0.6423 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3202, allocations: 0 / 0.6423 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.3203, allocations: 28 kB / 0.6424 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3203, allocations: 16 kB / 0.6424 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.3223, allocations: 0.9147 MB / 0.6433 GB, free: 3.008 MB / 446.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.00619/0.3285, allocations: 3.628 MB / 0.6468 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.3422, allocations: 3.281 MB / 0.65 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.3434, allocations: 0.585 MB / 0.6506 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.834e-05/0.3436, allocations: 12.64 kB / 0.6506 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3436, allocations: 39.22 kB / 0.6506 GB, free: 11.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/0.3436, allocations: 0 / 0.6506 GB, free: 11.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01347/0.3571, allocations: 3.882 MB / 0.6544 GB, free: 7.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3572, allocations: 115.5 kB / 0.6546 GB, free: 7.184 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.3591, allocations: 1.169 MB / 0.6557 GB, free: 5.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.3592, allocations: 45.64 kB / 0.6557 GB, free: 5.945 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.3596, allocations: 473.1 kB / 0.6562 GB, free: 5.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.3599, allocations: 305.4 kB / 0.6565 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.3603, allocations: 206.9 kB / 0.6567 GB, free: 4.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3605, allocations: 349.9 kB / 0.657 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.3619, allocations: 0.658 MB / 0.6577 GB, free: 3.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.3634, allocations: 0.7791 MB / 0.6584 GB, free: 3.152 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.3661, allocations: 1.359 MB / 0.6597 GB, free: 1.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.3661, allocations: 3.938 kB / 0.6597 GB, free: 1.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008246/0.3744, allocations: 2.766 MB / 0.6624 GB, free: 14.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3744, allocations: 4 kB / 0.6624 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3744, allocations: 3.938 kB / 0.6625 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.3787, allocations: 1.046 MB / 0.6635 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.38, allocations: 219.7 kB / 0.6637 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.3908, allocations: 5.085 MB / 0.6686 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.3924, allocations: 183.2 kB / 0.6688 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.3925, allocations: 39.92 kB / 0.6689 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001635/0.3941, allocations: 0.8344 MB / 0.6697 GB, free: 7.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001404/0.3955, allocations: 0.7479 MB / 0.6704 GB, free: 6.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002546/0.3981, allocations: 1.316 MB / 0.6717 GB, free: 5.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.3981, allocations: 0 / 0.6717 GB, free: 5.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.007999/0.4061, allocations: 2.719 MB / 0.6743 GB, free: 2.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4061, allocations: 4 kB / 0.6744 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4061, allocations: 8 kB / 0.6744 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/0.4104, allocations: 1.048 MB / 0.6754 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4116, allocations: 207.8 kB / 0.6756 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.4224, allocations: 5.077 MB / 0.6805 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.424, allocations: 159.3 kB / 0.6807 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4241, allocations: 39.98 kB / 0.6807 GB, free: 11.88 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.0003452/0.4245, allocations: 228.1 kB / 0.6809 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.4247, allocations: 115.2 kB / 0.6811 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006988/0.4317, allocations: 2.287 MB / 0.6833 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4317, allocations: 3.984 kB / 0.6833 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4317, allocations: 4 kB / 0.6833 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.432, allocations: 228.1 kB / 0.6835 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.4322, allocations: 20 kB / 0.6835 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4334, allocations: 99.86 kB / 0.6836 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/0.4339, allocations: 204.3 kB / 0.6838 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00555/0.4394, allocations: 1.768 MB / 0.6856 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003869/0.4433, allocations: 2.008 MB / 0.6875 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001123/0.4445, allocations: 0.5204 MB / 0.688 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.4459, allocations: 0.8231 MB / 0.6888 GB, free: 3.508 MB / 494.1 MB Notification: Performance of Backend: time 5.81e-07/0.4459, allocations: 3.938 kB / 0.6888 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008404/0.4543, allocations: 3.236 MB / 0.692 GB, free: 156 kB / 494.1 MB Notification: Performance of SimCode: time 0.003529/0.4579, allocations: 2.683 MB / 0.6946 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.04353/0.5014, allocations: 28.38 MB / 0.7223 GB, free: 1.07 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)