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.001334/0.001334, allocations: 168.8 kB / 7.645 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.366/1.366, allocations: 205.3 MB / 213.4 MB, free: 1.676 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.0008446/0.0008446, allocations: 90.22 kB / 261.4 MB, free: 1.621 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.06546/0.06546, allocations: 12.61 MB / 322 MB, free: 15.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4195/0.4195, allocations: 78.04 MB / 450.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.367e-05, allocations: 2.5 kB / 0.5147 GB, free: 41.79 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09405, allocations: 69.33 MB / 0.5824 GB, free: 336 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.2109, allocations: 99.7 MB / 0.6798 GB, free: 12.49 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.2111, allocations: 67.97 kB / 0.6798 GB, free: 12.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3054/0.5165, allocations: 21.19 MB / 0.7005 GB, free: 97.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5165, allocations: 0.6875 kB / 0.7005 GB, free: 97.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.031e-05/0.5166, allocations: 14.31 kB / 0.7005 GB, free: 97.26 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.003335/0.52, allocations: 1.263 MB / 0.7018 GB, free: 96.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.52, allocations: 8.969 kB / 0.7018 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.5225, allocations: 391 kB / 0.7021 GB, free: 96.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5238, allocations: 0.6101 MB / 0.7027 GB, free: 96.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.524, allocations: 128.9 kB / 0.7029 GB, free: 96.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5242, allocations: 37.64 kB / 0.7029 GB, free: 96.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/0.5253, allocations: 0.5547 MB / 0.7034 GB, free: 96.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5264, allocations: 0.6122 MB / 0.704 GB, free: 96.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5264, allocations: 1.062 kB / 0.704 GB, free: 96.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.5265, allocations: 0 / 0.704 GB, free: 96.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.5265, allocations: 15.67 kB / 0.7041 GB, free: 96.11 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.005243/0.5318, allocations: 2.781 MB / 0.7068 GB, free: 95.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.5442, allocations: 3.687 MB / 0.7104 GB, free: 94.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.5447, allocations: 379.8 kB / 0.7107 GB, free: 94.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.5448, allocations: 11.3 kB / 0.7107 GB, free: 94.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5448, allocations: 41.33 kB / 0.7108 GB, free: 94.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.374e-06/0.5448, allocations: 0 / 0.7108 GB, free: 94.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.004988/0.5498, allocations: 1.895 MB / 0.7126 GB, free: 94.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.5499, allocations: 85.39 kB / 0.7127 GB, free: 94.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.5508, allocations: 0.63 MB / 0.7133 GB, free: 94.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.404e-05/0.5509, allocations: 25.7 kB / 0.7134 GB, free: 94.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5512, allocations: 379.8 kB / 0.7137 GB, free: 94.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.5514, allocations: 223.4 kB / 0.7139 GB, free: 94.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5515, allocations: 5.125 kB / 0.7139 GB, free: 94.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5516, allocations: 334.2 kB / 0.7143 GB, free: 93.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.5521, allocations: 328.4 kB / 0.7146 GB, free: 93.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.5527, allocations: 418.3 kB / 0.715 GB, free: 93.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.5532, allocations: 364.7 kB / 0.7153 GB, free: 93.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5532, allocations: 3.953 kB / 0.7153 GB, free: 93.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005556/0.5588, allocations: 2.107 MB / 0.7174 GB, free: 92.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.5589, allocations: 0.7134 MB / 0.7181 GB, free: 91.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5589, allocations: 3.875 kB / 0.7181 GB, free: 91.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/0.5622, allocations: 0.9413 MB / 0.719 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.5628, allocations: 114.5 kB / 0.7191 GB, free: 91.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.5692, allocations: 4.087 MB / 0.7231 GB, free: 87.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.5704, allocations: 107.3 kB / 0.7232 GB, free: 87.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.5705, allocations: 31.98 kB / 0.7232 GB, free: 87.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.5705, allocations: 4 kB / 0.7232 GB, free: 87.12 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00519/0.5757, allocations: 1.977 MB / 0.7252 GB, free: 85.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5757, allocations: 0 / 0.7252 GB, free: 85.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.5789, allocations: 0.9509 MB / 0.7261 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.5794, allocations: 103.8 kB / 0.7262 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/0.5857, allocations: 4.078 MB / 0.7302 GB, free: 79.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.5867, allocations: 95.47 kB / 0.7303 GB, free: 79.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.5868, allocations: 23.98 kB / 0.7303 GB, free: 79.75 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.0001836/0.587, allocations: 108.9 kB / 0.7304 GB, free: 79.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.5872, allocations: 90.92 kB / 0.7305 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/0.5923, allocations: 1.967 MB / 0.7324 GB, free: 77.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.5923, allocations: 11.84 kB / 0.7324 GB, free: 77.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5924, allocations: 4 kB / 0.7324 GB, free: 77.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5924, allocations: 7.984 kB / 0.7324 GB, free: 77.54 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.006379/0.5988, allocations: 3.179 MB / 0.7355 GB, free: 74.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5988, allocations: 0 / 0.7355 GB, free: 74.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.5993, allocations: 79.91 kB / 0.7356 GB, free: 74.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.6017, allocations: 0.8561 MB / 0.7364 GB, free: 73.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.6018, allocations: 4 kB / 0.7364 GB, free: 73.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.6065, allocations: 3.276 MB / 0.7396 GB, free: 69.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6065, allocations: 0 / 0.7396 GB, free: 69.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.6119, allocations: 2.518 MB / 0.7421 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.6122, allocations: 183.8 kB / 0.7423 GB, free: 67.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.6124, allocations: 7.953 kB / 0.7423 GB, free: 67.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.6132, allocations: 71.92 kB / 0.7424 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.6135, allocations: 120.3 kB / 0.7425 GB, free: 67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.6135, allocations: 20 kB / 0.7425 GB, free: 66.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005146/0.614, allocations: 491.2 kB / 0.743 GB, free: 66.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.614, allocations: 0 / 0.743 GB, free: 66.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001279/0.6153, allocations: 447.3 kB / 0.7434 GB, free: 66.06 MB / 474.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.0002577/0.6156, allocations: 150.7 kB / 0.7435 GB, free: 65.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.6211, allocations: 2.68 MB / 0.7461 GB, free: 63.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6211, allocations: 448 / 0.7461 GB, free: 63.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.6233, allocations: 1.089 MB / 0.7472 GB, free: 61.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.6238, allocations: 56.05 kB / 0.7473 GB, free: 61.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6263, allocations: 1.45 MB / 0.7487 GB, free: 60.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.6267, allocations: 0.9995 MB / 0.7497 GB, free: 59.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.6273, allocations: 121.4 kB / 0.7498 GB, free: 59.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6274, allocations: 39.44 kB / 0.7498 GB, free: 59.28 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6274, allocations: 0 / 0.7498 GB, free: 59.28 MB / 474.7 MB Notification: Performance of Templates: time 0.02173/0.6491, allocations: 16.85 MB / 0.7663 GB, free: 42.47 MB / 474.7 MB 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)