Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004407/0.004407, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.147/1.147, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 92.31 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4265/0.4265, allocations: 79.43 MB / 420.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 0.489 GB, free: 6.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 69.51 MB / 0.5569 GB, free: 0.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.4074, allocations: 99.53 MB / 0.6541 GB, free: 1.734 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.4076, allocations: 75.91 kB / 0.6542 GB, free: 1.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05403/0.4617, allocations: 22.34 MB / 0.676 GB, free: 11.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4617, allocations: 0 / 0.676 GB, free: 11.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.4618, allocations: 16 kB / 0.676 GB, free: 11.36 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.003309/0.4651, allocations: 1.482 MB / 0.6775 GB, free: 9.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4651, allocations: 8.031 kB / 0.6775 GB, free: 9.824 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.4672, allocations: 386.5 kB / 0.6778 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.4681, allocations: 0.6173 MB / 0.6784 GB, free: 8.789 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.4683, allocations: 159.6 kB / 0.6786 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.4684, allocations: 52.34 kB / 0.6787 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4698, allocations: 0.8188 MB / 0.6795 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4698, allocations: 3.875 kB / 0.6795 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.4699, allocations: 28 kB / 0.6795 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4699, allocations: 12 kB / 0.6795 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.4712, allocations: 0.7235 MB / 0.6802 GB, free: 6.965 MB / 474.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.004403/0.4756, allocations: 2.884 MB / 0.683 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.4887, allocations: 3.914 MB / 0.6868 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.4888, allocations: 12.55 kB / 0.6869 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4889, allocations: 47.11 kB / 0.6869 GB, free: 15.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.605e-06/0.4889, allocations: 0 / 0.6869 GB, free: 15.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.0132/0.5021, allocations: 4.369 MB / 0.6912 GB, free: 11.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.5022, allocations: 89.66 kB / 0.6912 GB, free: 11.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/0.5031, allocations: 0.6769 MB / 0.6919 GB, free: 10.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.5031, allocations: 37.7 kB / 0.6919 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.5034, allocations: 380.7 kB / 0.6923 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5036, allocations: 232.5 kB / 0.6925 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.5037, allocations: 19.94 kB / 0.6925 GB, free: 10.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.5038, allocations: 337.9 kB / 0.6929 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.5046, allocations: 469.8 kB / 0.6933 GB, free: 9.227 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.5055, allocations: 0.5646 MB / 0.6939 GB, free: 8.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.5065, allocations: 0.4959 MB / 0.6944 GB, free: 8.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5065, allocations: 1.406 kB / 0.6944 GB, free: 8.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00673/0.5133, allocations: 2.54 MB / 0.6968 GB, free: 5.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.5135, allocations: 0.7134 MB / 0.6975 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5135, allocations: 0 / 0.6975 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.5175, allocations: 1.184 MB / 0.6987 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.518, allocations: 111.9 kB / 0.6988 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009812/0.5279, allocations: 5.287 MB / 0.704 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.5289, allocations: 123.3 kB / 0.7041 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.529, allocations: 31.98 kB / 0.7041 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.529, allocations: 4 kB / 0.7041 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006669/0.5357, allocations: 2.403 MB / 0.7065 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.5357, allocations: 0 / 0.7065 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/0.5399, allocations: 1.189 MB / 0.7076 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.5404, allocations: 103.8 kB / 0.7077 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/0.5502, allocations: 5.285 MB / 0.7129 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.5512, allocations: 112.9 kB / 0.713 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.5513, allocations: 31.92 kB / 0.713 GB, free: 4.66 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 () * Number of clocked 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.0004106/0.5517, allocations: 281 kB / 0.7133 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5519, allocations: 86.88 kB / 0.7134 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/0.5579, allocations: 2.391 MB / 0.7157 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5579, allocations: 17.77 kB / 0.7157 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.558, allocations: 4 kB / 0.7157 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.558, allocations: 3.984 kB / 0.7157 GB, free: 1.844 MB / 0.4948 GB 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 postOpt removeSimpleEquations (simulation): time 0.00764/0.5656, allocations: 3.678 MB / 0.7193 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5656, allocations: 4 kB / 0.7193 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.5662, allocations: 75.91 kB / 0.7194 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.5694, allocations: 1.079 MB / 0.7204 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.5695, allocations: 16 kB / 0.7205 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/0.5772, allocations: 4.288 MB / 0.7247 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5772, allocations: 1.5 kB / 0.7247 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007115/0.5843, allocations: 3.081 MB / 0.7277 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.5847, allocations: 187.9 kB / 0.7278 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5848, allocations: 12 kB / 0.7279 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.5857, allocations: 83.92 kB / 0.7279 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.586, allocations: 132.3 kB / 0.7281 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.586, allocations: 16 kB / 0.7281 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006454/0.5867, allocations: 0.5303 MB / 0.7286 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5867, allocations: 0 / 0.7286 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001221/0.5879, allocations: 495.3 kB / 0.7291 GB, free: 3.891 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 () * Number of clocked 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.0002503/0.5882, allocations: 143.6 kB / 0.7292 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00699/0.5952, allocations: 3.138 MB / 0.7323 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5952, allocations: 3.938 kB / 0.7323 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.598, allocations: 1.26 MB / 0.7335 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.5985, allocations: 65.17 kB / 0.7336 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.6016, allocations: 2.129 MB / 0.7356 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.602, allocations: 0.9906 MB / 0.7366 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003354/0.6024, allocations: 68.73 kB / 0.7367 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.6026, allocations: 51.42 kB / 0.7367 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.6026, allocations: 0 / 0.7367 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.02267/0.6253, allocations: 17.08 MB / 0.7534 GB, free: 10.83 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)