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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 78.72 kB / 261.4 MB, free: 1.695 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.06278/0.06278, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4246/0.4246, allocations: 78.05 MB / 450.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.448e-05, allocations: 0 / 0.5147 GB, free: 41.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09595, allocations: 69.33 MB / 0.5824 GB, free: 372 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.2118, allocations: 101.9 MB / 0.6819 GB, free: 10.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.2121, allocations: 71.97 kB / 0.6819 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3163/0.5285, allocations: 28.81 MB / 0.7101 GB, free: 97.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5285, allocations: 2.562 kB / 0.7101 GB, free: 97.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000116/0.5287, allocations: 24.22 kB / 0.7101 GB, free: 97.49 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003785/0.5324, allocations: 1.47 MB / 0.7115 GB, free: 96.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5325, allocations: 10.94 kB / 0.7115 GB, free: 96.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.5349, allocations: 414.2 kB / 0.7119 GB, free: 96.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.5364, allocations: 0.8776 MB / 0.7128 GB, free: 95.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5366, allocations: 220.5 kB / 0.713 GB, free: 95.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.5368, allocations: 45.69 kB / 0.713 GB, free: 95.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/0.5381, allocations: 0.7562 MB / 0.7138 GB, free: 95.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5393, allocations: 0.754 MB / 0.7145 GB, free: 95.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.5394, allocations: 3.938 kB / 0.7145 GB, free: 95.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.5395, allocations: 0 / 0.7145 GB, free: 95.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.5395, allocations: 15.56 kB / 0.7145 GB, free: 95.26 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.005585/0.5451, allocations: 3.499 MB / 0.718 GB, free: 92.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.5577, allocations: 3.978 MB / 0.7218 GB, free: 89.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.5586, allocations: 467.6 kB / 0.7223 GB, free: 88.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.5587, allocations: 16.69 kB / 0.7223 GB, free: 88.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.5587, allocations: 47.3 kB / 0.7223 GB, free: 88.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.5588, allocations: 3.938 kB / 0.7223 GB, free: 88.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005724/0.5645, allocations: 2.094 MB / 0.7244 GB, free: 86.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.5645, allocations: 111.6 kB / 0.7245 GB, free: 86.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.566, allocations: 0.8703 MB / 0.7253 GB, free: 85.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5661, allocations: 25.7 kB / 0.7254 GB, free: 85.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.5664, allocations: 484.7 kB / 0.7258 GB, free: 85.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.5667, allocations: 264 kB / 0.7261 GB, free: 85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.5668, allocations: 0 / 0.7261 GB, free: 85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.5668, allocations: 338 kB / 0.7264 GB, free: 84.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/0.5674, allocations: 422.6 kB / 0.7268 GB, free: 84.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.568, allocations: 0.5068 MB / 0.7273 GB, free: 83.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.5686, allocations: 460.4 kB / 0.7277 GB, free: 83.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5687, allocations: 0 / 0.7277 GB, free: 83.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005847/0.5745, allocations: 2.32 MB / 0.73 GB, free: 80.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.5747, allocations: 0.6169 MB / 0.7306 GB, free: 80.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5747, allocations: 7.938 kB / 0.7306 GB, free: 80.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.5779, allocations: 0.9469 MB / 0.7315 GB, free: 79.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/0.5788, allocations: 155.8 kB / 0.7317 GB, free: 79.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.5853, allocations: 4.079 MB / 0.7357 GB, free: 74.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5867, allocations: 163.1 kB / 0.7358 GB, free: 74.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.5868, allocations: 24 kB / 0.7359 GB, free: 74.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.5869, allocations: 4 kB / 0.7359 GB, free: 74.77 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005608/0.5925, allocations: 2.163 MB / 0.738 GB, free: 72.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5925, allocations: 0 / 0.738 GB, free: 72.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.5957, allocations: 0.9456 MB / 0.7389 GB, free: 71.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.5965, allocations: 147.8 kB / 0.739 GB, free: 71.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.6028, allocations: 4.078 MB / 0.743 GB, free: 67.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6042, allocations: 147.2 kB / 0.7432 GB, free: 67.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.6043, allocations: 31.98 kB / 0.7432 GB, free: 67.12 MB / 474.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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.000225/0.6045, allocations: 112.9 kB / 0.7433 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.6048, allocations: 110.7 kB / 0.7434 GB, free: 66.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/0.6101, allocations: 2.173 MB / 0.7455 GB, free: 64.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6101, allocations: 11.98 kB / 0.7455 GB, free: 64.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6101, allocations: 4 kB / 0.7455 GB, free: 64.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6101, allocations: 7.984 kB / 0.7455 GB, free: 64.69 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.007002/0.6171, allocations: 3.692 MB / 0.7492 GB, free: 60.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6172, allocations: 0 / 0.7492 GB, free: 60.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.6179, allocations: 111.9 kB / 0.7493 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.6204, allocations: 0.8416 MB / 0.7501 GB, free: 59.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.6205, allocations: 8 kB / 0.7501 GB, free: 59.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.6253, allocations: 3.272 MB / 0.7533 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6253, allocations: 4 kB / 0.7533 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005977/0.6313, allocations: 2.835 MB / 0.7561 GB, free: 53.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.6317, allocations: 231.5 kB / 0.7563 GB, free: 53.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.632, allocations: 4 kB / 0.7563 GB, free: 53.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6332, allocations: 119.9 kB / 0.7564 GB, free: 53.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.6335, allocations: 132.5 kB / 0.7565 GB, free: 53.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.6336, allocations: 19.95 kB / 0.7565 GB, free: 53.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008745/0.6345, allocations: 0.6628 MB / 0.7572 GB, free: 52.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6345, allocations: 4 kB / 0.7572 GB, free: 52.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001516/0.636, allocations: 0.503 MB / 0.7577 GB, free: 52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0002574/0.6363, allocations: 139 kB / 0.7578 GB, free: 51.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005921/0.6422, allocations: 2.985 MB / 0.7607 GB, free: 48.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6422, allocations: 0 / 0.7607 GB, free: 48.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.6446, allocations: 1.184 MB / 0.7619 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.6452, allocations: 96.25 kB / 0.762 GB, free: 47.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.6487, allocations: 1.902 MB / 0.7638 GB, free: 45.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.6491, allocations: 1.111 MB / 0.7649 GB, free: 44.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008891/0.65, allocations: 204.9 kB / 0.7651 GB, free: 44.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.6502, allocations: 51.42 kB / 0.7652 GB, free: 44.11 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6502, allocations: 0 / 0.7652 GB, free: 44.11 MB / 474.7 MB Notification: Performance of Templates: time 0.02627/0.6765, allocations: 19.74 MB / 0.7844 GB, free: 24.4 MB / 474.7 MB 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)