Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005288/0.005288, allocations: 172 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.309/1.309, 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.0009287/0.0009289, allocations: 98.48 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5587/0.5587, allocations: 78.59 MB / 419.9 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003891, allocations: 12 kB / 499.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 69.36 MB / 0.5558 GB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.6324, allocations: 98.85 MB / 0.6523 GB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.6327, allocations: 78.69 kB / 0.6524 GB, free: 3.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06008/0.6927, allocations: 22.14 MB / 0.674 GB, free: 13.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6928, allocations: 0 / 0.674 GB, free: 13.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.675e-05/0.6929, allocations: 16 kB / 0.674 GB, free: 13.8 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.004564/0.6975, allocations: 1.471 MB / 0.6755 GB, free: 12.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6975, allocations: 12.03 kB / 0.6755 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.7001, allocations: 386.5 kB / 0.6758 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.7015, allocations: 0.6172 MB / 0.6764 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.7018, allocations: 155.1 kB / 0.6766 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.7021, allocations: 58.12 kB / 0.6766 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.704, allocations: 0.8188 MB / 0.6774 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.704, allocations: 0 / 0.6774 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.7041, allocations: 20 kB / 0.6775 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.7041, allocations: 12 kB / 0.6775 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.7058, allocations: 0.7313 MB / 0.6782 GB, free: 9.41 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.005768/0.7116, allocations: 2.884 MB / 0.681 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.7256, allocations: 3.924 MB / 0.6848 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.7258, allocations: 12.55 kB / 0.6849 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.7258, allocations: 39.12 kB / 0.6849 GB, free: 2.375 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.596e-06/0.7259, allocations: 0 / 0.6849 GB, free: 2.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01497/0.7408, allocations: 4.377 MB / 0.6892 GB, free: 13.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.7409, allocations: 85.67 kB / 0.6892 GB, free: 13.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.7422, allocations: 0.6799 MB / 0.6899 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.7423, allocations: 33.7 kB / 0.6899 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.7426, allocations: 384.7 kB / 0.6903 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.7429, allocations: 228.5 kB / 0.6905 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.7429, allocations: 16 kB / 0.6905 GB, free: 12.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7431, allocations: 337.9 kB / 0.6909 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.744, allocations: 476 kB / 0.6913 GB, free: 11.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.745, allocations: 0.5645 MB / 0.6919 GB, free: 11.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.746, allocations: 0.4959 MB / 0.6924 GB, free: 10.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.746, allocations: 0 / 0.6924 GB, free: 10.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007226/0.7532, allocations: 2.544 MB / 0.6948 GB, free: 8.016 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.7535, allocations: 0.7095 MB / 0.6955 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7536, allocations: 0 / 0.6955 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.7579, allocations: 1.189 MB / 0.6967 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.7586, allocations: 107.8 kB / 0.6968 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.7694, allocations: 5.288 MB / 0.702 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.7707, allocations: 123.3 kB / 0.7021 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.7707, allocations: 24 kB / 0.7021 GB, free: 388 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.7707, allocations: 4 kB / 0.7021 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006928/0.7777, allocations: 2.406 MB / 0.7045 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7777, allocations: 0 / 0.7045 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/0.7819, allocations: 1.191 MB / 0.7056 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.7826, allocations: 107.8 kB / 0.7057 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.7932, allocations: 5.283 MB / 0.7109 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7944, allocations: 111.4 kB / 0.711 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.7945, allocations: 27.94 kB / 0.711 GB, free: 7.109 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.0005009/0.795, allocations: 277.1 kB / 0.7113 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.7952, allocations: 94.86 kB / 0.7114 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006555/0.8017, allocations: 2.391 MB / 0.7137 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.8018, allocations: 10.77 kB / 0.7137 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/0.8018, allocations: 4 kB / 0.7137 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.8018, allocations: 4 kB / 0.7137 GB, free: 4.297 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.008395/0.8102, allocations: 3.682 MB / 0.7173 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8103, allocations: 0 / 0.7173 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.8109, allocations: 83.89 kB / 0.7174 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/0.8143, allocations: 1.077 MB / 0.7184 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.8144, allocations: 19.98 kB / 0.7185 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008078/0.8225, allocations: 4.285 MB / 0.7226 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8225, allocations: 0 / 0.7226 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007569/0.8301, allocations: 3.089 MB / 0.7257 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.8305, allocations: 179.9 kB / 0.7258 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.8307, allocations: 12 kB / 0.7258 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.8315, allocations: 83.92 kB / 0.7259 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.8318, allocations: 124.3 kB / 0.726 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.8319, allocations: 16 kB / 0.7261 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007712/0.8327, allocations: 0.5303 MB / 0.7266 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8327, allocations: 8 kB / 0.7266 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001447/0.8341, allocations: 491.3 kB / 0.7271 GB, free: 6.344 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.0003003/0.8344, allocations: 147.9 kB / 0.7272 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007489/0.8419, allocations: 3.134 MB / 0.7303 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.842, allocations: 3.938 kB / 0.7303 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.845, allocations: 1.264 MB / 0.7315 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.8457, allocations: 63.84 kB / 0.7316 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.8493, allocations: 2.135 MB / 0.7336 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.8499, allocations: 0.9945 MB / 0.7346 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004239/0.8503, allocations: 62.02 kB / 0.7347 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.8505, allocations: 47.42 kB / 0.7347 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/0.8505, allocations: 0 / 0.7347 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.02698/0.8775, allocations: 17.07 MB / 0.7514 GB, free: 13.29 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)