Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001852/0.001852, allocations: 169 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.342/1.342, 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.001038/0.001038, allocations: 90.22 kB / 261.4 MB, free: 1.613 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.06551/0.06551, allocations: 12.6 MB / 322 MB, free: 15.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4272/0.4272, allocations: 78.05 MB / 450.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.158e-05, allocations: 0 / 0.5147 GB, free: 41.72 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09809, allocations: 69.32 MB / 0.5824 GB, free: 332 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.2136, allocations: 98.11 MB / 0.6782 GB, free: 14.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.2138, allocations: 71.97 kB / 0.6783 GB, free: 14.01 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2928/0.5066, allocations: 19.66 MB / 0.6975 GB, free: 97.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5066, allocations: 0 / 0.6975 GB, free: 97.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.5067, allocations: 16.25 kB / 0.6975 GB, free: 97.02 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002593/0.5093, allocations: 1.171 MB / 0.6986 GB, free: 96.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5093, allocations: 8.656 kB / 0.6986 GB, free: 96.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.5115, allocations: 386.7 kB / 0.699 GB, free: 96.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.5123, allocations: 0.559 MB / 0.6995 GB, free: 96.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.5124, allocations: 127.1 kB / 0.6997 GB, free: 96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.5125, allocations: 32.36 kB / 0.6997 GB, free: 95.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008939/0.5134, allocations: 0.517 MB / 0.7002 GB, free: 95.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.5143, allocations: 0.5013 MB / 0.7007 GB, free: 95.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5144, allocations: 1.688 kB / 0.7007 GB, free: 95.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.5144, allocations: 4.875 kB / 0.7007 GB, free: 95.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5144, allocations: 11.19 kB / 0.7007 GB, free: 95.94 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.004103/0.5185, allocations: 2.514 MB / 0.7032 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.5319, allocations: 3.551 MB / 0.7066 GB, free: 94.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.5324, allocations: 342.2 kB / 0.707 GB, free: 94.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.5325, allocations: 7.188 kB / 0.707 GB, free: 94.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5326, allocations: 42.55 kB / 0.707 GB, free: 94.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.945e-06/0.5326, allocations: 0 / 0.707 GB, free: 94.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.005011/0.5376, allocations: 1.839 MB / 0.7088 GB, free: 94.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.5376, allocations: 59.38 kB / 0.7089 GB, free: 94.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.5384, allocations: 0.5985 MB / 0.7094 GB, free: 94.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.5384, allocations: 25.7 kB / 0.7095 GB, free: 94.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.5386, allocations: 369.1 kB / 0.7098 GB, free: 94.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.5388, allocations: 198.5 kB / 0.71 GB, free: 94.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.5388, allocations: 0 / 0.71 GB, free: 94.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.5389, allocations: 333.1 kB / 0.7103 GB, free: 93.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.5393, allocations: 285.8 kB / 0.7106 GB, free: 93.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.5397, allocations: 369.2 kB / 0.711 GB, free: 93.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.5401, allocations: 319.5 kB / 0.7113 GB, free: 93.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5402, allocations: 0 / 0.7113 GB, free: 93.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005266/0.5454, allocations: 1.999 MB / 0.7132 GB, free: 93.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5455, allocations: 7.906 kB / 0.7132 GB, free: 93.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5455, allocations: 7.625 kB / 0.7132 GB, free: 93.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/0.5489, allocations: 0.9651 MB / 0.7142 GB, free: 93.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.5493, allocations: 84.12 kB / 0.7142 GB, free: 93.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.5561, allocations: 5.224 MB / 0.7193 GB, free: 89.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009568/0.5571, allocations: 93.89 kB / 0.7194 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/0.5572, allocations: 31.27 kB / 0.7195 GB, free: 89.82 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real 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 (55): * Single equations (assignments): 51 * 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: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.5574, allocations: 126.1 kB / 0.7196 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.5576, allocations: 85.05 kB / 0.7197 GB, free: 89.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/0.5625, allocations: 1.894 MB / 0.7215 GB, free: 88.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5625, allocations: 8 kB / 0.7215 GB, free: 88.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5625, allocations: 4 kB / 0.7215 GB, free: 88.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5625, allocations: 3.516 kB / 0.7215 GB, free: 88.25 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.005917/0.5685, allocations: 2.914 MB / 0.7244 GB, free: 85.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5685, allocations: 0 / 0.7244 GB, free: 85.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.5689, allocations: 66.97 kB / 0.7244 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.5714, allocations: 0.8478 MB / 0.7253 GB, free: 84.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.5715, allocations: 8 kB / 0.7253 GB, free: 84.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/0.5763, allocations: 3.264 MB / 0.7285 GB, free: 81.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5763, allocations: 4 kB / 0.7285 GB, free: 81.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.5816, allocations: 2.383 MB / 0.7308 GB, free: 78.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.582, allocations: 180 kB / 0.731 GB, free: 78.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.5821, allocations: 7.984 kB / 0.731 GB, free: 78.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/0.583, allocations: 55.95 kB / 0.731 GB, free: 78.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.5832, allocations: 120.3 kB / 0.7311 GB, free: 78.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5833, allocations: 19.56 kB / 0.7312 GB, free: 78.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005399/0.5838, allocations: 475.2 kB / 0.7316 GB, free: 78.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5838, allocations: 0 / 0.7316 GB, free: 78.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008565/0.5847, allocations: 255.7 kB / 0.7319 GB, free: 77.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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.0002361/0.5849, allocations: 128.8 kB / 0.732 GB, free: 77.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.5879, allocations: 1.509 MB / 0.7335 GB, free: 76.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.588, allocations: 0 / 0.7335 GB, free: 76.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.5901, allocations: 1.051 MB / 0.7345 GB, free: 75.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.5905, allocations: 43.3 kB / 0.7345 GB, free: 74.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5925, allocations: 1.181 MB / 0.7357 GB, free: 73.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.5928, allocations: 0.9571 MB / 0.7366 GB, free: 72.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.5931, allocations: 52.55 kB / 0.7367 GB, free: 72.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.5933, allocations: 39.44 kB / 0.7367 GB, free: 72.71 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5933, allocations: 0 / 0.7367 GB, free: 72.71 MB / 474.7 MB Notification: Performance of Templates: time 0.01586/0.6091, allocations: 11.62 MB / 0.748 GB, free: 61.2 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)