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.001312/0.001312, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 101.9 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5108/0.5108, allocations: 78.12 MB / 409.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 3.938 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 69.36 MB / 0.5413 GB, free: 6.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.474, allocations: 98.12 MB / 0.6371 GB, free: 1.656 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.4742, allocations: 72.61 kB / 0.6372 GB, free: 1.586 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05834/0.5326, allocations: 21.82 MB / 0.6585 GB, free: 11.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5326, allocations: 0 / 0.6585 GB, free: 11.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.5326, allocations: 16 kB / 0.6585 GB, free: 11.81 MB / 474.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.002947/0.5356, allocations: 1.264 MB / 0.6598 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5356, allocations: 8.031 kB / 0.6598 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5379, allocations: 390.4 kB / 0.6601 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.5387, allocations: 0.6099 MB / 0.6607 GB, free: 9.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.5389, allocations: 130.3 kB / 0.6609 GB, free: 9.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.539, allocations: 39.89 kB / 0.6609 GB, free: 9.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009458/0.54, allocations: 0.5505 MB / 0.6614 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.541, allocations: 0.6095 MB / 0.662 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.541, allocations: 4 kB / 0.662 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.5411, allocations: 0 / 0.662 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5411, allocations: 12 kB / 0.6621 GB, free: 8.082 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004714/0.5458, allocations: 2.784 MB / 0.6648 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.5595, allocations: 3.674 MB / 0.6684 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.5602, allocations: 382.5 kB / 0.6687 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.5603, allocations: 12.52 kB / 0.6687 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5603, allocations: 45.06 kB / 0.6688 GB, free: 1.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.695e-06/0.5603, allocations: 1.031 kB / 0.6688 GB, free: 1.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005465/0.5658, allocations: 1.894 MB / 0.6706 GB, free: 15.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.5659, allocations: 85.67 kB / 0.6707 GB, free: 15.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.5667, allocations: 0.6213 MB / 0.6713 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.5668, allocations: 33.64 kB / 0.6713 GB, free: 14.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.5671, allocations: 372.7 kB / 0.6717 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.5673, allocations: 228.5 kB / 0.6719 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.5674, allocations: 0 / 0.6719 GB, free: 13.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5675, allocations: 338 kB / 0.6722 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.568, allocations: 325.6 kB / 0.6726 GB, free: 13.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.5686, allocations: 419.8 kB / 0.673 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.5691, allocations: 364.5 kB / 0.6733 GB, free: 12.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5691, allocations: 3.938 kB / 0.6733 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005995/0.5751, allocations: 2.109 MB / 0.6754 GB, free: 10.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.5754, allocations: 0.7099 MB / 0.6761 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5754, allocations: 0 / 0.6761 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/0.5789, allocations: 0.9362 MB / 0.677 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.5795, allocations: 115.8 kB / 0.6771 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.5867, allocations: 4.073 MB / 0.6811 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.5878, allocations: 111.3 kB / 0.6812 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.5878, allocations: 28 kB / 0.6812 GB, free: 4.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.5878, allocations: 4.656 kB / 0.6812 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005822/0.5937, allocations: 1.985 MB / 0.6831 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5937, allocations: 0 / 0.6831 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/0.5972, allocations: 0.9565 MB / 0.6841 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.5978, allocations: 99.89 kB / 0.6842 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.605, allocations: 4.08 MB / 0.6882 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6061, allocations: 99.38 kB / 0.6882 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.6062, allocations: 20.84 kB / 0.6883 GB, free: 12.65 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.6064, allocations: 108.9 kB / 0.6884 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6066, allocations: 94.91 kB / 0.6885 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/0.6121, allocations: 1.966 MB / 0.6904 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.6122, allocations: 8 kB / 0.6904 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6122, allocations: 4 kB / 0.6904 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6122, allocations: 3.984 kB / 0.6904 GB, free: 10.44 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.006821/0.619, allocations: 3.182 MB / 0.6935 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.619, allocations: 0 / 0.6935 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.6196, allocations: 85.58 kB / 0.6936 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.6224, allocations: 0.835 MB / 0.6944 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.6224, allocations: 12 kB / 0.6944 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/0.6279, allocations: 3.288 MB / 0.6976 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6279, allocations: 0 / 0.6976 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.634, allocations: 2.518 MB / 0.7001 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.6342, allocations: 179.9 kB / 0.7003 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6344, allocations: 11.94 kB / 0.7003 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.6352, allocations: 67.94 kB / 0.7003 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.6355, allocations: 128.4 kB / 0.7005 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.6355, allocations: 19.98 kB / 0.7005 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005959/0.6361, allocations: 491.2 kB / 0.7009 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6361, allocations: 4 kB / 0.7009 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00123/0.6374, allocations: 451.2 kB / 0.7014 GB, free: 14.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002427/0.6376, allocations: 137.1 kB / 0.7015 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006134/0.6438, allocations: 2.678 MB / 0.7041 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6438, allocations: 4 kB / 0.7041 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.6463, allocations: 1.089 MB / 0.7052 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.6468, allocations: 51.84 kB / 0.7052 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.6496, allocations: 1.459 MB / 0.7067 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.6501, allocations: 0.9995 MB / 0.7076 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005643/0.6507, allocations: 113.2 kB / 0.7077 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.6508, allocations: 43.44 kB / 0.7078 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.6508, allocations: 0 / 0.7078 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of Templates: time 0.02444/0.6753, allocations: 16.84 MB / 0.7242 GB, free: 7.48 MB / 0.5261 GB 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)