Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007866/0.0007867, allocations: 86.73 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06525/0.06525, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2772/0.2772, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.721e-05, allocations: 4 kB / 0.5218 GB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 69.34 MB / 0.5895 GB, free: 2.508 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4843, allocations: 100.4 MB / 0.6875 GB, free: 15.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4846, allocations: 71.22 kB / 0.6875 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05884/0.5434, allocations: 21.45 MB / 0.7085 GB, free: 12.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5435, allocations: 0 / 0.7085 GB, free: 12.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.5435, allocations: 17.53 kB / 0.7085 GB, free: 12.9 MB / 458.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.002884/0.5464, allocations: 1.267 MB / 0.7098 GB, free: 11.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5465, allocations: 11.98 kB / 0.7098 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.5486, allocations: 389 kB / 0.7101 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.5495, allocations: 0.6184 MB / 0.7107 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.5497, allocations: 148.7 kB / 0.7109 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5499, allocations: 58.36 kB / 0.7109 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.551, allocations: 0.6793 MB / 0.7116 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.551, allocations: 0 / 0.7116 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.5511, allocations: 21.81 kB / 0.7116 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5511, allocations: 12 kB / 0.7116 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.5521, allocations: 0.5838 MB / 0.7122 GB, free: 9.777 MB / 458.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.004651/0.5567, allocations: 2.877 MB / 0.715 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.5702, allocations: 3.703 MB / 0.7186 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.5709, allocations: 400 kB / 0.719 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.161e-05/0.571, allocations: 8.547 kB / 0.719 GB, free: 3.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5711, allocations: 39.06 kB / 0.7191 GB, free: 3.867 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 2.915e-06/0.5711, allocations: 0 / 0.7191 GB, free: 3.867 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005729/0.5768, allocations: 1.945 MB / 0.721 GB, free: 2.273 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.5769, allocations: 85.67 kB / 0.721 GB, free: 2.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/0.5779, allocations: 0.6784 MB / 0.7217 GB, free: 1.664 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.5779, allocations: 36.52 kB / 0.7217 GB, free: 1.633 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.5782, allocations: 380.4 kB / 0.7221 GB, free: 1.414 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.5784, allocations: 231.2 kB / 0.7223 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.5785, allocations: 14.75 kB / 0.7223 GB, free: 1.211 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5786, allocations: 332.5 kB / 0.7226 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.5791, allocations: 345.2 kB / 0.723 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.5798, allocations: 438.8 kB / 0.7234 GB, free: 436 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.5804, allocations: 375.2 kB / 0.7238 GB, free: 224 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5804, allocations: 0 / 0.7238 GB, free: 224 kB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006023/0.5864, allocations: 2.177 MB / 0.7259 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.5867, allocations: 0.6973 MB / 0.7266 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5867, allocations: 11.92 kB / 0.7266 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.5903, allocations: 0.9636 MB / 0.7275 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.5909, allocations: 111.6 kB / 0.7276 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007338/0.5982, allocations: 4.176 MB / 0.7317 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.5993, allocations: 127.5 kB / 0.7318 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.5994, allocations: 23.17 kB / 0.7318 GB, free: 9.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5994, allocations: 4 kB / 0.7318 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005801/0.6052, allocations: 2.066 MB / 0.7339 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6052, allocations: 0 / 0.7339 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/0.6088, allocations: 0.9645 MB / 0.7348 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.6093, allocations: 105.6 kB / 0.7349 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.6166, allocations: 4.166 MB / 0.739 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6177, allocations: 117.2 kB / 0.7391 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.6178, allocations: 19.75 kB / 0.7391 GB, free: 3.68 MB / 474.7 MB 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.0002288/0.618, allocations: 141.7 kB / 0.7392 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6182, allocations: 86.97 kB / 0.7393 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.6238, allocations: 2.024 MB / 0.7413 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.6238, allocations: 11.95 kB / 0.7413 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6238, allocations: 4 kB / 0.7413 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6238, allocations: 3.984 kB / 0.7413 GB, free: 1.852 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 postOpt removeSimpleEquations (simulation): time 0.00735/0.6312, allocations: 3.303 MB / 0.7445 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6312, allocations: 8 kB / 0.7446 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.6317, allocations: 75.91 kB / 0.7446 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.6346, allocations: 0.8644 MB / 0.7455 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.6347, allocations: 20 kB / 0.7455 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00588/0.6406, allocations: 3.35 MB / 0.7488 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6406, allocations: 4 kB / 0.7488 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/0.6469, allocations: 2.584 MB / 0.7513 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.6472, allocations: 183.9 kB / 0.7515 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6474, allocations: 16 kB / 0.7515 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.6482, allocations: 79.94 kB / 0.7516 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.6485, allocations: 128.3 kB / 0.7517 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.6486, allocations: 19.98 kB / 0.7517 GB, free: 7.129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006942/0.6493, allocations: 0.5226 MB / 0.7522 GB, free: 6.613 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6493, allocations: 8 kB / 0.7522 GB, free: 6.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001257/0.6506, allocations: 487.2 kB / 0.7527 GB, free: 6.129 MB / 490.7 MB 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.000252/0.6508, allocations: 142.5 kB / 0.7528 GB, free: 5.984 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0064/0.6572, allocations: 2.771 MB / 0.7555 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6573, allocations: 0 / 0.7555 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.6599, allocations: 1.123 MB / 0.7566 GB, free: 1.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.6604, allocations: 59.3 kB / 0.7567 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.6633, allocations: 1.497 MB / 0.7581 GB, free: 336 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.6638, allocations: 0.9957 MB / 0.7591 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005631/0.6644, allocations: 119 kB / 0.7592 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.6646, allocations: 35.44 kB / 0.7593 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.6646, allocations: 0 / 0.7593 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.02765/0.6922, allocations: 18.45 MB / 0.7773 GB, free: 12.71 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)